Skip to content

Commit

Permalink
✨ Fix more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 committed Jul 3, 2024
1 parent 7e05b3a commit 6b164dc
Show file tree
Hide file tree
Showing 13 changed files with 533 additions and 508 deletions.
953 changes: 500 additions & 453 deletions Loop.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand Down Expand Up @@ -44,7 +44,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand All @@ -61,7 +61,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand Down
33 changes: 8 additions & 25 deletions Loop.xcodeproj/xcshareddata/xcschemes/Loop.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,13 @@
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Set Build Number"
scriptText = "$SRCROOT/assets/set_build_number.sh&#10;"
title = "Run Script"
scriptText = "$SRCROOT/assets/set_build_number.sh&#10;/usr/bin/xattr -cr ~/Library/Developer/Xcode/DerivedData&#10;"
shellToInvoke = "/bin/bash">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Remove Attributes"
scriptText = "/usr/bin/xattr -cr $SRCROOT/DerivedData/&#10;"
shellToInvoke = "/bin/bash">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand All @@ -45,13 +28,13 @@
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Reset Build Number"
title = "Run Script"
scriptText = "$SRCROOT/assets/reset_build_number.sh&#10;"
shellToInvoke = "/bin/bash">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand All @@ -69,7 +52,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand Down Expand Up @@ -99,7 +82,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand All @@ -116,7 +99,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8849FE72C34C54600C233C2"
BlueprintIdentifier = "A8E59C34297F5E9A0064D4BA"
BuildableName = "Loop.app"
BlueprintName = "Loop"
ReferencedContainer = "container:Loop.xcodeproj">
Expand Down
6 changes: 6 additions & 0 deletions Loop/Assets.xcassets/Window Actions/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
12 changes: 12 additions & 0 deletions Loop/Assets.xcassets/empty.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "empty.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file added Loop/Assets.xcassets/empty.imageset/empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Loop/Assets.xcassets/menubarIcon.imageset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"properties" : {
"template-rendering-intent" : "template"
}
}
}
8 changes: 3 additions & 5 deletions Loop/LoopApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ struct LoopApp: App {
var body: some Scene {
MenuBarExtra(Bundle.main.appName, image: "menubarIcon", isInserted: Binding.constant(!hideMenuBarIcon)) {
#if DEBUG
MenuBarHeaderText("DEV BUILD: \(Bundle.main.appVersion ?? "Unknown") (\(Bundle.main.appBuild ?? 0))")
let text = "DEV BUILD: \(Bundle.main.appVersion ?? "Unknown") (\(Bundle.main.appBuild ?? 0))"
Text(text)
.font(.system(size: 11, weight: .semibold))
#endif

Button {
Expand All @@ -31,15 +33,11 @@ struct LoopApp: App {
}
}

Divider()

Button("Settings…") {
LuminareManager.open()
}
.keyboardShortcut(",", modifiers: .command)

Divider()

Button("Quit") {
NSApp.terminate(nil)
}
Expand Down
21 changes: 0 additions & 21 deletions Loop/MenuBar/MenuBarHeaderText.swift

This file was deleted.

0 comments on commit 6b164dc

Please sign in to comment.