File tree Expand file tree Collapse file tree 5 files changed +33
-9
lines changed
Expand file tree Collapse file tree 5 files changed +33
-9
lines changed Original file line number Diff line number Diff line change 363363 "$(inherited)",
364364 "@executable_path/../Frameworks",
365365 );
366- MARKETING_VERSION = 1.2.3 ;
366+ MARKETING_VERSION = 1.2.4 ;
367367 ONLY_ACTIVE_ARCH = NO;
368368 PRODUCT_BUNDLE_IDENTIFIER = "com.CubingStudios.sm-osx";
369369 PRODUCT_NAME = "$(TARGET_NAME)";
395395 "$(inherited)",
396396 "@executable_path/../Frameworks",
397397 );
398- MARKETING_VERSION = 1.2.3 ;
398+ MARKETING_VERSION = 1.2.4 ;
399399 ONLY_ACTIVE_ARCH = NO;
400400 PRODUCT_BUNDLE_IDENTIFIER = "com.CubingStudios.sm-osx";
401401 PRODUCT_NAME = "$(TARGET_NAME)";
Original file line number Diff line number Diff line change @@ -155,6 +155,28 @@ struct CompilationView: View {
155155
156156 compilesSucess = true
157157
158+ if doLauncher {
159+ let launcherRepo = LauncherRepos ( context: moc)
160+
161+ launcherRepo. title = " \( repo) "
162+ launcherRepo. isEditing = false
163+ if repo != . moon64 {
164+ launcherRepo. path = " ~/SM64Repos/ \( execPath) /sm64.us.f3dex2e "
165+ }
166+ else {
167+ launcherRepo. path = " ~/SM64Repos/ \( execPath) /moon64.us.f3dex2e "
168+ }
169+ launcherRepo. args = " "
170+ launcherRepo. id = UUID ( )
171+
172+ do {
173+ try moc. save ( )
174+ }
175+ catch {
176+ print ( error)
177+ }
178+ }
179+
158180 dismiss. callAsFunction ( )
159181 }
160182 else if try ! shell. shell ( " ls ~/SM64Repos/ \( execPath) /moon64.us.f3dex2e | echo y " , true ) == " y \n " {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import UniformTypeIdentifiers
1010import AppKit
1111
1212struct CurrentVersion {
13- public let currentVersion = " v1.2.3 \n "
13+ public let currentVersion = " v1.2.4 \n "
1414}
1515
1616public func isArm( ) -> Bool {
Original file line number Diff line number Diff line change @@ -45,10 +45,12 @@ struct RepoView: View {
4545 }
4646 }
4747
48- NavigationLink ( destination: PatchesView ( repo: . sm64ex_alo, repoView: $repoView) ) {
49-
50- Text ( " sm64ex-alo " )
51- . lineLimit ( nil )
48+ if devMode {
49+ NavigationLink ( destination: PatchesView ( repo: . sm64ex_alo, repoView: $repoView) ) {
50+
51+ Text ( " sm64ex-alo " )
52+ . lineLimit ( nil )
53+ }
5254 }
5355
5456 NavigationLink ( destination: PatchesView ( repo: . sm64ex_coop, repoView: $repoView) ) {
Original file line number Diff line number Diff line change @@ -205,10 +205,10 @@ struct RomView: View {
205205 commandsCompile. append ( " echo 'Compiling Now' && " )
206206
207207 if repo == . sm64ex_coop || repo == . sm64ex_coop_dev {
208- commandsCompile. append ( " cd ~/SM64Repos/ \( repo) && arch -x86_64 /bin/zsh -cl 'gmake OSX_BUILD=1 TARGET_ARCH=x86_64-apple-darwin TARGET_BITS=64 USE_APP=0 EXTERNAL_DATA= \( extData ) DEBUG= \( debug) COLOR=0 \( compSpeed. rawValue) ' && " )
208+ commandsCompile. append ( " cd ~/SM64Repos/ \( repo) && arch -x86_64 /bin/zsh -cl 'gmake OSX_BUILD=1 TARGET_ARCH=x86_64-apple-darwin TARGET_BITS=64 USE_APP=0 EXTERNAL_DATA=0 DEBUG= \( debug) COLOR=0 \( compSpeed. rawValue) ' && " )
209209 }
210210 else if repo == . moon64 {
211- commandsCompile. append ( " cd ~/SM64Repos/ \( repo) && arch -x86_64 /bin/zsh -cl 'gmake OSX_BUILD=1 BETTERCAMERA= \( betterCamera) EXTERNAL_DATA= \( extData ) NODRAWDISTANCE=\( drawDistance) \( compSpeed. rawValue) ' && " )
211+ commandsCompile. append ( " cd ~/SM64Repos/ \( repo) && arch -x86_64 /bin/zsh -cl 'gmake OSX_BUILD=1 BETTERCAMERA= \( betterCamera) NODRAWDISTANCE= \( drawDistance) \( compSpeed. rawValue) ' && " )
212212 }
213213 else if repo == . sm64ex_alo {
214214 commandsCompile. append ( " cd ~/SM64Repos/ \( repo) && gmake OSX_BUILD=1 BETTERCAMERA= \( betterCamera) EXTERNAL_DATA=0 NODRAWDISTANCE= \( drawDistance) QOL_FEATURES= \( qolFeatures) QOL_FIXES= \( qolFix) HIGH_FPS_PC= \( highFPS) COLOR=0 \( compSpeed. rawValue) && " )
You can’t perform that action at this time.
0 commit comments