Skip to content

Commit

Permalink
Merge pull request #37 from galadril/features/osx-project-settings
Browse files Browse the repository at this point in the history
Features/osx project settings
  • Loading branch information
ramonklanke authored May 1, 2024
2 parents 70431e8 + 5a558ee commit 89e8018
Show file tree
Hide file tree
Showing 35 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
VERSION: 1.0.13
VERSION: 1.0.14

concurrency:
group: ${{ github.ref }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>capture-wolf</string>
<string>CaptureWolf</string>
<key>CFBundleIconFile</key>
<string>AppIcon</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
<key>CFBundleIdentifier</key>
<string>com.schubergphilis.capture-wolf</string>
<string>com.schubergphilis.CaptureWolf</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>capture-wolf</string>
<string>CaptureWolf</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/* Begin PBXFileReference section */
B906B0FB2BE0D54D0043A59C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
B9B1232A2BD2CA010026F074 /* capture-wolf.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "capture-wolf.app"; sourceTree = BUILT_PRODUCTS_DIR; };
B9B1232A2BD2CA010026F074 /* CaptureWolf.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CaptureWolf.app; sourceTree = BUILT_PRODUCTS_DIR; };
B9B1232D2BD2CA010026F074 /* capture_wolfApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = capture_wolfApp.swift; sourceTree = "<group>"; };
B9B1232F2BD2CA010026F074 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
B9B123312BD2CA040026F074 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
Expand Down Expand Up @@ -56,7 +56,7 @@
B9B123212BD2CA010026F074 = {
isa = PBXGroup;
children = (
B9B1232C2BD2CA010026F074 /* capture-wolf */,
B9B1232C2BD2CA010026F074 /* CaptureWolf */,
B9B1232B2BD2CA010026F074 /* Products */,
B9B1234C2BD2CD000026F074 /* Frameworks */,
);
Expand All @@ -65,12 +65,12 @@
B9B1232B2BD2CA010026F074 /* Products */ = {
isa = PBXGroup;
children = (
B9B1232A2BD2CA010026F074 /* capture-wolf.app */,
B9B1232A2BD2CA010026F074 /* CaptureWolf.app */,
);
name = Products;
sourceTree = "<group>";
};
B9B1232C2BD2CA010026F074 /* capture-wolf */ = {
B9B1232C2BD2CA010026F074 /* CaptureWolf */ = {
isa = PBXGroup;
children = (
B9B123472BD2CB360026F074 /* Extensions */,
Expand All @@ -83,7 +83,7 @@
B906B0FB2BE0D54D0043A59C /* Info.plist */,
B9B123332BD2CA040026F074 /* Preview Content */,
);
path = "capture-wolf";
path = CaptureWolf;
sourceTree = "<group>";
};
B9B123332BD2CA040026F074 /* Preview Content */ = {
Expand Down Expand Up @@ -141,9 +141,9 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
B9B123292BD2CA010026F074 /* capture-wolf */ = {
B9B123292BD2CA010026F074 /* CaptureWolf */ = {
isa = PBXNativeTarget;
buildConfigurationList = B9B123392BD2CA040026F074 /* Build configuration list for PBXNativeTarget "capture-wolf" */;
buildConfigurationList = B9B123392BD2CA040026F074 /* Build configuration list for PBXNativeTarget "CaptureWolf" */;
buildPhases = (
B9B123262BD2CA010026F074 /* Sources */,
B9B123272BD2CA010026F074 /* Frameworks */,
Expand All @@ -153,9 +153,9 @@
);
dependencies = (
);
name = "capture-wolf";
productName = "capture-wolf";
productReference = B9B1232A2BD2CA010026F074 /* capture-wolf.app */;
name = CaptureWolf;
productName = CaptureWolf;
productReference = B9B1232A2BD2CA010026F074 /* CaptureWolf.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand All @@ -173,7 +173,7 @@
};
};
};
buildConfigurationList = B9B123252BD2CA010026F074 /* Build configuration list for PBXProject "capture-wolf" */;
buildConfigurationList = B9B123252BD2CA010026F074 /* Build configuration list for PBXProject "CaptureWolf" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
Expand All @@ -186,7 +186,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
B9B123292BD2CA010026F074 /* capture-wolf */,
B9B123292BD2CA010026F074 /* CaptureWolf */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -276,7 +276,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = "capture-wolf/Info.plist";
INFOPLIST_FILE = CaptureWolf/Info.plist;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 14.4;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
Expand Down Expand Up @@ -335,7 +335,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
GENERATE_INFOPLIST_FILE = NO;
INFOPLIST_FILE = "capture-wolf/Info.plist";
INFOPLIST_FILE = CaptureWolf/Info.plist;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MACOSX_DEPLOYMENT_TARGET = 14.4;
MTL_ENABLE_DEBUG_INFO = NO;
Expand All @@ -350,12 +350,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "capture-wolf/capture_wolf.entitlements";
CODE_SIGN_ENTITLEMENTS = CaptureWolf/capture_wolf.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 32;
DEVELOPMENT_ASSET_PATHS = "\"capture-wolf/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "\"CaptureWolf/Preview Content\"";
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = FN7VC8ZTQF;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -385,12 +385,12 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "capture-wolf/capture_wolf.entitlements";
CODE_SIGN_ENTITLEMENTS = CaptureWolf/capture_wolf.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 32;
DEVELOPMENT_ASSET_PATHS = "\"capture-wolf/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "\"CaptureWolf/Preview Content\"";
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = FN7VC8ZTQF;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -418,7 +418,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
B9B123252BD2CA010026F074 /* Build configuration list for PBXProject "capture-wolf" */ = {
B9B123252BD2CA010026F074 /* Build configuration list for PBXProject "CaptureWolf" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B9B123372BD2CA040026F074 /* Debug */,
Expand All @@ -427,7 +427,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
B9B123392BD2CA040026F074 /* Build configuration list for PBXNativeTarget "capture-wolf" */ = {
B9B123392BD2CA040026F074 /* Build configuration list for PBXNativeTarget "CaptureWolf" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B9B1233A2BD2CA040026F074 /* Debug */,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ContentView.swift
// capture-wolf
// CaptureWolf
//
// Created by Ramon Klanke on 19/04/2024.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AVCapture.swift
// capture-wolf
// CaptureWolf
//
// Created by Ramon Klanke on 18/03/2024.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// NSImage.swift
// capture-wolf
// CaptureWolf
//
// Created by Ramon Klanke on 11/04/2024.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AppleScript.swift
// capture-wolf
// CaptureWolf
//
// Created by Ramon Klanke on 11/04/2024.
//
Expand All @@ -12,7 +12,7 @@ func minimize(value: Bool = true) {
DispatchQueue.global(qos: .background).async {
let lockScript = """
tell application "System Events"
tell process "capture-wolf"
tell process "CaptureWolf"
set frontWindow to the first window
tell frontWindow
set value of attribute "AXMinimized" to \(value)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// SleepPreventionManager.swift
// capture-wolf
// CaptureWolf
//
// Created by Ramon Klanke on 10/04/2024.
//
Expand Down
8 changes: 4 additions & 4 deletions OSX/capture-wolf/Info.plist → OSX/CaptureWolf/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleVersion</key>
<string>32</string>
<key>CFBundleShortVersionString</key>
<string>1.0.13</string>
<key>CFBundleVersion</key>
<string>32</string>
<key>CFBundleShortVersionString</key>
<string>1.0.13</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// CaptureModel.swift
// capture-wolf
// CaptureWolf
//
// Created by Ramon Klanke on 18/03/2024.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// CaptureView.swift
// capture-wolf
// CaptureWolf
//
// Created by Ramon Klanke on 18/03/2024.
//
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//
// capture_wolfApp.swift
// capture-wolf
// CaptureWolfApp.swift
// CaptureWolf
//
// Created by Ramon Klanke on 19/04/2024.
//

import SwiftUI

@main
struct capture_wolfApp: App {
struct CaptureWolfApp: App {
var body: some Scene {
WindowGroup {
CaptureView()
Expand Down
4 changes: 2 additions & 2 deletions OSX/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ platform :mac do
lane :release do
prepare_signing
build
dmg(path: "builds", output_path: "./release/capture-wolf.dmg")
dmg(path: "builds", output_path: "./release/CaptureWolf.dmg")
remove_keychain
end

lane :test do
build
dmg(path: "builds", output_path: "./release/capture-wolf.dmg")
dmg(path: "builds", output_path: "./release/CaptureWolf.dmg")
end

desc "Build the IOS Application"
Expand Down

0 comments on commit 89e8018

Please sign in to comment.