Skip to content

Commit

Permalink
✨ Completely recreate the app
Browse files Browse the repository at this point in the history
  • Loading branch information
SenpaiHunters committed Oct 21, 2024
1 parent 678e4ee commit df649b5
Show file tree
Hide file tree
Showing 31 changed files with 1,662 additions and 1,797 deletions.
12 changes: 2 additions & 10 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# These are supported funding model platforms

github: SenpaiHunters
patreon: Kami_YT
open_collective: # Replace with a single Open Collective username
ko_fi: kamiyt
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: ['buymeacoffee.com/KamiAMVS'] # Max 4
patreon: kamidev
custom: ['buymeacoffee.com/kami.dev'] # Max 4
87 changes: 87 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
--acronyms ID,URL,UUID
--allman false
--anonymousforeach convert
--assetliterals visual-width
--asynccapturing
--beforemarks
--binarygrouping 4,8
--categorymark "MARK: %c"
--classthreshold 0
--closingparen balanced
--closurevoid remove
--commas inline
--conflictmarkers reject
--decimalgrouping 3,6
--doccomments before-declarations
--elseposition same-line
--emptybraces no-space
--enumnamespaces always
--enumthreshold 0
--exponentcase lowercase
--exponentgrouping disabled
--extensionacl on-extension
--extensionlength 0
--extensionmark "MARK: - %t + %c"
--fractiongrouping disabled
--fragment false
--funcattributes preserve
--generictypes
--groupedextension "MARK: %c"
--guardelse auto
--header ignore
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
--importgrouping alpha
--indent 4
--indentcase false
--indentstrings false
--lifecycle
--lineaftermarks true
--linebreaks lf
--markcategories true
--markextensions always
--marktypes always
--maxwidth none
--modifierorder
--nevertrailing
--nospaceoperators ...
--nowrapoperators
--octalgrouping 4,8
--onelineforeach ignore
--operatorfunc spaced
--organizetypes actor,class,enum,struct
--patternlet hoist
--ranges spaced
--redundanttype infer-locals-only
--self init-only
--selfrequired
--semicolons inline
--shortoptionals except-properties
--smarttabs enabled
--someany true
--stripunusedargs always
--structthreshold 0
--swiftversion 6.0
--tabwidth unspecified
--throwcapturing
--trailingclosures
--trimwhitespace always
--typeattributes preserve
--typeblanklines remove
--typemark "MARK: - %t"
--varattributes preserve
--voidtype tuple
--wraparguments preserve
--wrapcollections preserve
--wrapconditions preserve
--wrapeffects preserve
--wrapenumcases always
--wrapparameters default
--wrapreturntype preserve
--wrapternary default
--wraptypealiases preserve
--xcodeindentation disabled
--yodaswap always
--disable wrapMultilineStatementBraces
--enable isEmpty
2 changes: 1 addition & 1 deletion Privacy Policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ We may update this Privacy Policy from time to time. The most current version of

## Contact Us

If you have any questions about this Privacy Policy, please contact us via email at kamibusinessinquirers@gmail.com or via Discord at [https://discord.com/users/325178652033679362](https://discord.com/users/325178652033679362).
If you have any questions about this Privacy Policy, please contact us via email at <kamibusinessinquirers@gmail.com> or via Discord at [https://discord.com/users/325178652033679362](https://discord.com/users/325178652033679362).
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ This project is licensed under the GNU GPLv3 license. See the [LICENSE](LICENSE.
- [Sindre Sorhus](https://github.com/sindresorhus)
- [Keyboard Shortcuts](https://github.com/sindresorhus/KeyboardShortcuts)

- [Sparkle](https://github.com/sparkle-project/Sparkle)

## Explore More

- [Autoclicking Test Site](https://clakr-delta.vercel.app/)
Expand Down Expand Up @@ -193,7 +191,7 @@ This project is licensed under the GNU GPLv3 license. See the [LICENSE](LICENSE.
- A: Who knows! Maybe, even I don't know!

- **Q: Does Clakr track me?**
- A: Clakr does not track your activities. In version 1.1 (481), we introduced auto-updating, which pings `senpaihunters.github.io`, our update domain. If you're concerned about privacy, you can block this domain using tools like LuLu or Little Snitch, or by adjusting your DNS settings. However, blocking the domain means you'll need to manually check for and install future updates. Alternatively, you can disable auto-updating in the app's settings, which will prevent the app from making update requests, offering a similar outcome to using a network blocking tool. As always, you are welcome to inspect our code.
- A: Not at all, it does not even connect to the internet and is completely open-source and sandboxed.

</details>

Expand Down
72 changes: 37 additions & 35 deletions clakr/clakr.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
4C41EE362BC5001900D283BF /* AutoClicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C41EE2E2BC5001900D283BF /* AutoClicker.swift */; };
4C41EE372BC5001900D283BF /* Settings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C41EE302BC5001900D283BF /* Settings.swift */; };
4C41EE392BC5001900D283BF /* MenuManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C41EE332BC5001900D283BF /* MenuManager.swift */; };
4C64B5732BCFD37400E76AF3 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = 4C64B5722BCFD37400E76AF3 /* Sparkle */; };
4CAA23692BC2B0F8002D91AE /* KeyboardShortcuts in Frameworks */ = {isa = PBXBuildFile; productRef = 4CAA23682BC2B0F8002D91AE /* KeyboardShortcuts */; };
4CAA236B2BC2BCC5002D91AE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CAA236A2BC2BCC5002D91AE /* AppDelegate.swift */; };
4CAECF6F2BDF5B14009571C1 /* Alert.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 4C7EB7062BDE73B6003D2696 /* Alert.mp3 */; };
Expand Down Expand Up @@ -47,7 +46,6 @@
buildActionMask = 2147483647;
files = (
4CAA23692BC2B0F8002D91AE /* KeyboardShortcuts in Frameworks */,
4C64B5732BCFD37400E76AF3 /* Sparkle in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -59,26 +57,23 @@
children = (
4C41EE2C2BC5001900D283BF /* ExtensionValues.swift */,
);
name = Extensions;
path = clakr/Extensions;
path = Extensions;
sourceTree = "<group>";
};
4C41EE2F2BC5001900D283BF /* Main */ = {
isa = PBXGroup;
children = (
4C41EE2E2BC5001900D283BF /* AutoClicker.swift */,
);
name = Main;
path = clakr/Main;
path = Main;
sourceTree = "<group>";
};
4C41EE312BC5001900D283BF /* Settings */ = {
isa = PBXGroup;
children = (
4C41EE302BC5001900D283BF /* Settings.swift */,
);
name = Settings;
path = clakr/Settings;
path = Settings;
sourceTree = "<group>";
};
4C41EE342BC5001900D283BF /* Menu bar */ = {
Expand All @@ -87,8 +82,7 @@
4C41EE332BC5001900D283BF /* MenuManager.swift */,
4C2080482BDFBBF9000A312B /* AboutView.swift */,
);
name = "Menu bar";
path = "clakr/Menu bar";
path = "Menu bar";
sourceTree = "<group>";
};
4C7EB7072BDE73B6003D2696 /* Sounds */ = {
Expand All @@ -110,10 +104,6 @@
4CDF8E1E2BBBB201009DAE04 = {
isa = PBXGroup;
children = (
4C41EE2D2BC5001900D283BF /* Extensions */,
4C41EE2F2BC5001900D283BF /* Main */,
4C41EE342BC5001900D283BF /* Menu bar */,
4C41EE312BC5001900D283BF /* Settings */,
4CDF8E292BBBB201009DAE04 /* clakr */,
4CDF8E282BBBB201009DAE04 /* Products */,
);
Expand All @@ -130,6 +120,10 @@
4CDF8E292BBBB201009DAE04 /* clakr */ = {
isa = PBXGroup;
children = (
4C41EE2D2BC5001900D283BF /* Extensions */,
4C41EE2F2BC5001900D283BF /* Main */,
4C41EE342BC5001900D283BF /* Menu bar */,
4C41EE312BC5001900D283BF /* Settings */,
4C64B5762BCFD3DF00E76AF3 /* Info.plist */,
4C3745732BD4F45900544C34 /* Localizable.xcstrings */,
4CAA236A2BC2BCC5002D91AE /* AppDelegate.swift */,
Expand Down Expand Up @@ -158,6 +152,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 4CDF8E362BBBB203009DAE04 /* Build configuration list for PBXNativeTarget "clakr" */;
buildPhases = (
4C7804D62CC5F911007C99E9 /* Run SwiftFormat */,
4CDF8E232BBBB201009DAE04 /* Sources */,
4CDF8E242BBBB201009DAE04 /* Frameworks */,
4CDF8E252BBBB201009DAE04 /* Resources */,
Expand All @@ -169,7 +164,6 @@
name = clakr;
packageProductDependencies = (
4CAA23682BC2B0F8002D91AE /* KeyboardShortcuts */,
4C64B5722BCFD37400E76AF3 /* Sparkle */,
);
productName = clakr;
productReference = 4CDF8E272BBBB201009DAE04 /* clakr.app */;
Expand Down Expand Up @@ -205,7 +199,6 @@
mainGroup = 4CDF8E1E2BBBB201009DAE04;
packageReferences = (
4CAA23672BC2B0F8002D91AE /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */,
4C64B5712BCFD37400E76AF3 /* XCRemoteSwiftPackageReference "Sparkle" */,
);
productRefGroup = 4CDF8E282BBBB201009DAE04 /* Products */;
projectDirPath = "";
Expand All @@ -230,6 +223,28 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
4C7804D62CC5F911007C99E9 /* Run SwiftFormat */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Run SwiftFormat";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Default Homebrew installation path on Intel-based Macs\nHOMEBREW_INTEL_PATH=\"/usr/local/bin/swiftformat\"\n\n# Default Homebrew installation path on Apple Silicon Macs\nHOMEBREW_ARM_PATH=\"/opt/homebrew/bin/swiftformat\"\n\n# Determine the architecture of the machine (arm64 or x86_64)\nARCH=$(uname -m)\n\n# Set the Homebrew path based on the architecture\nif [ \"$ARCH\" = \"arm64\" ]; then\n SWIFTFORMAT_PATH=\"$HOMEBREW_ARM_PATH\"\nelse\n SWIFTFORMAT_PATH=\"$HOMEBREW_INTEL_PATH\"\nfi\n\n# Check if SwiftFormat is installed via Homebrew\nif [ -x \"$SWIFTFORMAT_PATH\" ]; then\n \"$SWIFTFORMAT_PATH\" .\nelse\n echo \"warning: SwiftFormat not installed via Homebrew or not found in expected paths\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
4CDF8E232BBBB201009DAE04 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -289,7 +304,7 @@
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -355,7 +370,7 @@
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down Expand Up @@ -383,7 +398,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 481;
CURRENT_PROJECT_VERSION = 562;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_ASSET_PATHS = "\"clakr/Preview Content\"";
DEVELOPMENT_TEAM = DC484S2P7A;
Expand All @@ -398,7 +413,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.2;
MARKETING_VERSION = 1.3;
PRODUCT_BUNDLE_IDENTIFIER = kami.dev.clakr;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -415,7 +430,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 481;
CURRENT_PROJECT_VERSION = 562;
DEVELOPMENT_ASSET_PATHS = "\"clakr/Preview Content\"";
DEVELOPMENT_TEAM = DC484S2P7A;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -429,7 +444,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.2;
MARKETING_VERSION = 1.3;
PRODUCT_BUNDLE_IDENTIFIER = kami.dev.clakr;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -461,14 +476,6 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
4C64B5712BCFD37400E76AF3 /* XCRemoteSwiftPackageReference "Sparkle" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sparkle-project/Sparkle";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 2.6.0;
};
};
4CAA23672BC2B0F8002D91AE /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sindresorhus/KeyboardShortcuts";
Expand All @@ -480,11 +487,6 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
4C64B5722BCFD37400E76AF3 /* Sparkle */ = {
isa = XCSwiftPackageProductDependency;
package = 4C64B5712BCFD37400E76AF3 /* XCRemoteSwiftPackageReference "Sparkle" */;
productName = Sparkle;
};
4CAA23682BC2B0F8002D91AE /* KeyboardShortcuts */ = {
isa = XCSwiftPackageProductDependency;
package = 4CAA23672BC2B0F8002D91AE /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "bd98f0be2af71cea5645be75ecf05037da9d09ea8295306d01254963541210cb",
"originHash" : "69c39523ac0471922b625cc56b8722155cfd2afd660bdd4f5ff67335b5b87714",
"pins" : [
{
"identity" : "keyboardshortcuts",
Expand All @@ -9,15 +9,6 @@
"revision" : "09e4a10ed6b65b3a40fe07b6bf0c84809313efc4",
"version" : "2.0.0"
}
},
{
"identity" : "sparkle",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sparkle-project/Sparkle",
"state" : {
"revision" : "41847a58cdef7506b257591fcca6f9495df591d4",
"version" : "2.6.2"
}
}
],
"version" : 3
Expand Down
Loading

0 comments on commit df649b5

Please sign in to comment.