Skip to content

Commit c57d58f

Browse files
committed
UltimMC: Change notsecrets to secrets
1 parent f9fb244 commit c57d58f

13 files changed

+21
-47
lines changed

.github/workflows/main.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
-DLauncher_LAYOUT=lin-nodeps \
4545
-DLauncher_BUILD_PLATFORM=lin64 \
4646
-DLauncher_BUG_TRACKER_URL=https://github.com/UltimMC/Launcher/issues \
47+
-DLauncher_EMBED_SECRETS=On \
4748
$GITHUB_WORKSPACE
4849
4950
- name: Compile
5051
run: |
5152
cd build
52-
make tcversion
5353
make -j$(nproc)
5454
5555
- name: Test
@@ -167,6 +167,7 @@ jobs:
167167
-DLauncher_LAYOUT=win-bundle ^
168168
-DLauncher_BUILD_PLATFORM=win32 ^
169169
-DLauncher_BUG_TRACKER_URL=https://github.com/UltimMC/Launcher/issues ^
170+
-DLauncher_EMBED_SECRETS=On ^
170171
-G "MinGW Makefiles" ^
171172
..
172173
@@ -180,7 +181,6 @@ jobs:
180181
set PATH=%PATHCM%;%PATH%
181182
set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%PATH%
182183
cd build
183-
mingw32-make tcversion
184184
mingw32-make -j%NUMBER_OF_PROCESSORS%
185185
186186
- name: Test
@@ -245,26 +245,26 @@ jobs:
245245
mkdir build
246246
cd build
247247
cmake \
248-
-DCMAKE_C_COMPILER=/usr/bin/clang \
249-
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
250-
-DCMAKE_BUILD_TYPE=Release \
251-
-DLauncher_NOTIFICATION_URL:STRING=https://files.multimc.org/notifications.json \
252-
-DCMAKE_INSTALL_PREFIX:PATH="/Users/runner/work/UltimMC/build/dist" \
253-
-DCMAKE_PREFIX_PATH="$(brew --prefix qt@5);$(brew --prefix qt@5)/lib/cmake/Qt5Core;$(brew --prefix qt@5)/lib/cmake/Qt5Widgets;$(brew --prefix qt@5)/lib/cmake/Qt5Concurrent;$(brew --prefix qt@5)/lib/cmake/Qt5Network;$(brew --prefix qt@5)/lib/cmake/Qt5Test;$(brew --prefix qt@5)/lib/cmake/Qt5Xml" \
254-
-DQt5_DIR="$(brew --prefix qt@5)" \
255-
-DLauncher_UPDATER_BASE=https://files.multimc.org/update/ \
256-
-DLauncher_PASTE_EE_API_KEY:STRING=utLvciUouSURFzfjPxLBf5W4ISsUX4pwBDF7N1AfZ \
257-
-DLauncher_ANALYTICS_ID:STRING=UA-87731965-2 \
258-
-DLauncher_LAYOUT=mac-bundle \
259-
-DLauncher_BUILD_PLATFORM=osx64-5.15.2 \
260-
-DLauncher_BUG_TRACKER_URL=https://github.com/UltimMC/Launcher/issues \
261-
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
262-
$GITHUB_WORKSPACE
248+
-DCMAKE_C_COMPILER=/usr/bin/clang \
249+
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
250+
-DCMAKE_BUILD_TYPE=Release \
251+
-DLauncher_NOTIFICATION_URL:STRING=https://files.multimc.org/notifications.json \
252+
-DCMAKE_INSTALL_PREFIX:PATH="/Users/runner/work/UltimMC/build/dist" \
253+
-DCMAKE_PREFIX_PATH="$(brew --prefix qt@5);$(brew --prefix qt@5)/lib/cmake/Qt5Core;$(brew --prefix qt@5)/lib/cmake/Qt5Widgets;$(brew --prefix qt@5)/lib/cmake/Qt5Concurrent;$(brew --prefix qt@5)/lib/cmake/Qt5Network;$(brew --prefix qt@5)/lib/cmake/Qt5Test;$(brew --prefix qt@5)/lib/cmake/Qt5Xml" \
254+
-DQt5_DIR="$(brew --prefix qt@5)" \
255+
-DLauncher_UPDATER_BASE=https://files.multimc.org/update/ \
256+
-DLauncher_PASTE_EE_API_KEY:STRING=utLvciUouSURFzfjPxLBf5W4ISsUX4pwBDF7N1AfZ \
257+
-DLauncher_ANALYTICS_ID:STRING=UA-87731965-2 \
258+
-DLauncher_LAYOUT=mac-bundle \
259+
-DLauncher_BUILD_PLATFORM=osx64-5.15.2 \
260+
-DLauncher_BUG_TRACKER_URL=https://github.com/UltimMC/Launcher/issues \
261+
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
262+
-DLauncher_EMBED_SECRETS=On \
263+
$GITHUB_WORKSPACE
263264
264265
- name: Compile
265266
run: |
266267
cd build
267-
make tcversion
268268
make -j$(sysctl -n hw.logicalcpu)
269269
270270
- name: Test

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ tags
3636
.DS_Store
3737

3838
branding/
39-
secrets/
4039
run/

notsecrets/README.md

-25
This file was deleted.

notsecrets/CMakeLists.txt renamed to secrets/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ set(Launcher_UserAgent "MultiMC/5.0" PARENT_SCOPE)
1313
set(Launcher_ConfigFile "ultimmc.cfg" PARENT_SCOPE)
1414
set(Launcher_Git "https://github.com/UltimMC/Launcher" PARENT_SCOPE)
1515

16-
set(Launcher_Branding_ICNS "notsecrets/Launcher.icns" PARENT_SCOPE)
17-
set(Launcher_Branding_WindowsRC "notsecrets/launcher.rc" PARENT_SCOPE)
18-
set(Launcher_Branding_LogoQRC "notsecrets/logo.qrc" PARENT_SCOPE)
16+
set(Launcher_Branding_ICNS "secrets/Launcher.icns" PARENT_SCOPE)
17+
set(Launcher_Branding_WindowsRC "secrets/launcher.rc" PARENT_SCOPE)
18+
set(Launcher_Branding_LogoQRC "secrets/logo.qrc" PARENT_SCOPE)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)