You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move the mode selector into the settings pane (dea0e25)
🐛 Bug Fixes
(chore in disguise, but need to test fastlane release) Add status badge for CI/CD build (4f846b6)
Looks like this is the most I can do with the tools available under SwiftUI, just define a min and max width and let the OS decide. I've use the 'View UI Hierarchy' tool under the debugger to see if I can track down what may be causing the weird window size constraints but cannot seems to find anything that would cause the window size not to apply correctly when capturing and restoring window size state. I think SwiftUI just isn't there yet for that functionality; to provide a min, max and desired current size (ideal just appears to do nothing and the docs don't expand on what Apple's intent is beyond 'ideal'). (bca4d72)
Fix preferences help text being cut off due to window size limitations (b0d99a1)
Would help if I added the find_replace_string plugin to Fastlane... (887898f)
Closes othyn#56 - Fix for being able to start the timer multiple times, along with allowing the timer to be cancelled during the delay period (4497c76)
Closes othyn#57 - Add forced padding to text lines to fix Ventura line padding on the main page (2c157f3)
Attempt to fix Xcode build error; Missing gem 'xcode-install', please add the following to your local Gemfile (6820b75)
Build trying to commit package manager assets (315a700)
Attempt to fix the automated Actions builds which may be caused by a space in the name? This is proving really hard to debug :( (15f42ce)
Hopefully this fixes the build issues, although I'm having to deprecate support for macOS 11 & 12 in order to do so due to dependency updates meaning I can no longer support those platforms. The underlying issues were far deeper rooted than I first thought... (3469755)
Lock in readme version for older versions of macOS (this commit should also trigger a new build to hopefully fix the builds again, ffs) (97ad514)
Set the output_name for prod builds too in the Fastfile (0f98fc6)
This fixes some of the colouring to account for Light/Dark mode and Light/Dark wallpapers by using the Color.primary colour. Its not an exact match for Light scenarios, but its the best I can do until Apple surfaces an API or Color to use when dealing with wallpaper effected MenuBar icon colours irregardless of the system theme. (1cdb422)
Attempt a rollback of create-dmg to solve build issues (17ea429)
Welp that didn't fix it, exact same problem, revert! (2cef1f0)
Attempt to surface errors, ideally I want to be able to watch for the error code and have fastlane error if the error code != 0 or != 2 (cb79d84)
Closes othyn#73 - Add project URL to the about dialogue (03c716f)
Attempt to fix the DMG build issues by just swapping out the build tool for it all together... (c803967)
Could this be the problem? It appears to have nested into another directory, I reckon this is an undocumented behavior change in the macOS 13 upgrade for the runner. Looking at the build path for the output fragment its changed, from /Users/runner/work/macos-auto-clicker/build/AutoClicker.app to /Users/runner/work/macos-auto-clicker/macos-auto-clicker/build/AutoClicker.app, and extra nested '/macos-auto-clicker' directory has appeared from somewhere, but I have no idea where! (16951f5)
?????? At this point I'm running out of ideas, 'hdiutil: create failed - Function not implemented' is mostly met online with 'we have no idea what the fuck that means'. Why is this build chain so damn fickle?! All this to attempt to close othyn#69, in which the issues popped up out of nowhere anyway (9ec9d7b)
FFS... this is just getting ridiculous. Finally found an issue thread regarding this problem: actions/runner-images#7522 apparently running the process as root is one path to a fix. Reverted from e9f03d2 to HEAD. (bd268a1)
Another attempt, the path spec wasn't the issue, so lets try and fix the script so that it fails correctly and stops the release process if the build fails, by correctly listening for the only exit codes that are 'fine', 0 or 2 (c995bae)
Wrong way to return back to fastlane whether to terminate the lane (da983fe)
Allow it to proceed past the normal error point, for debugging purposes, but checking that it has the required file before creating the release (15ba9af)
Revert "fix: FFS... this is just getting ridiculous. Finally found an issue thread regarding this problem: actions/runner-images#7522 apparently running the process as root is one path to a fix. Reverted from e9f03d2 to HEAD." (9191736)
I give up with DMG's... I have no idea what's going on and it looks to be a much deeper issue than something I can patch out. Let's just swap to zip, its not as 'nice', but it works. Now just to hope the zip isn't relative and nests directories to the target within the archive. (cbc93f3)
Zip runs at a different directory level to the sh call (4cbfe47)
(fixes othyn#82) Add macOS Sequoia support (appears the order of the Settings declaration now matters) (458fe5a)
Inline with docs guidance, now we're targeting >macOS 13 only anyway, the helper script call can be safely removed. This is step one of modernising this functionality (d202b51)
Upgrade from LaunchAtLogin-Legacy to LaunchAtLogin-Modern now we're targeting macOS >=13 (b2437bf)
Give the preferences view a much needed visual overhaul, creating new underlying components for the tab views themselves and the tab view items (0ad7429)
Set the preferences window heights to fixed heights instead of relative to allow more fine grained control, it was useless doing it the other way anyway as all the scales would have to be re-worked if the underlying value changed (8b0a7d1)
Amend the typing of SettingsTabItemView properties to allow for more control in the way the View is rendered, certainly when it comes to partial rendering (e4f73dc)
Place all Menu Bar functionality into a new service class for centralised functionality (d851ed3)
Remove unused window styling code, doesn't appear to have any effect anymore (d76e0fa)
Fixed CI/CD GH actions runner to use macOS 12 as it was failing due to Xcode being older than the projects build environment (59795bb)
Fix breaking tccutil call for permissions reset when the bundle does not yet exist in the host system, breaking CI/CD due to the non-zero exit code (ca87f1e)
This is a nightmare, window size management in SwiftUI just isn't there yet... anyway, I'm going to remove the Defaults saving - this is just here for future reference of approach. This approach just won't work as I can't restore window size state... (cae2c8f)
Merge branch 'pre-dev' into 43-as-a-user-i-would-like-the-option-of-chosing-if-the-app-should-quit-when-the-last-window-is-closed (43ff175)
Weirdly solved the issue I was having in commit bca4d72, in regards to issue othyn#44, whilst implementing the functionality to restore the main window from the menu bar as part of the 'minimize to menu bar' functionality, so the window size state is now persisted correctly... ish. (18d170b)
Attempt to get window restoration working via app URL's, but this just creates a new window each time the URL is called instead of restoring the main window (f335968)
Implement the Menu Bar items. As the functionality I want for this is only to have menu options shown in the default macOS style, and MenuBarExtra's isn't available until the next macOS release, macOS 13 (Ventura), we will have to rely on good olde NSMenu! And for now I'll ditch the custom View approach, but leave the implementation in place should I want something more complex in future! (66b541a)
Get the hide and show app functionality working (06ab461)
Get the start/stop functionality of the timer working from the menu bar (ff2d33b)
Add in link to preferences in menu bar so that when the app is in non-dock-icon mode you can still access preferences, also get a little bit ahead on issue othyn#42 with the macOS 13 check for preferences 'Settings' URL ;) (050c9b2)
Fix app not adhering to 'quit on close' with the new hide behavior (7daddea)
Get hide dock icon functionality working, lots of moving pieces - hope I've caught all conditions! (6a2e06e)
Ensure that the app is foregrounded when its launched, this to stop issues when the app is running in menu bar only mode and the window appears behind all other windows (fa98613)
Changed menu bar show/hide suffix to best describe its function as it show/hides the whole apps windows, not just the main window (ca5c806)
Merge branch 'dev' into 17-as-a-user-i-would-like-to-be-able-to-minimise-the-app-to-a-menubar-icon (63801e3)
Update README file extension for recurring builds (ccb1db8)
Squash repeatable build process steps into a reusable workflow, ChatGPT is fantastic at things like this, removing the monotony out of tasks like these with some PR level oversight (56f707f)
Create a local lane for build testing, which all works fine. I don't get the 'error: The specified item could not be found in the keychain.' error locally... (52d5528)
Test disabling what I believe to be the culprit for failing builds... (f709367)
Perform Xcode auto project upgrade recommendations (1f6bec1)
Update deployment target to be inline with those specified in the README (b438ad2)
Fix new user script sandboxing breaking the builds, as its stopping filesystem access, blocking git and PlistBuddy from being able to increment the build (2145c4d)
🥳 this is a massive one, the application will now allow you to specify a key (+ modifier) or mouse input via a nifty new listener UI and will replay the defined input key/mouse button as the primary directive (42c230d)
Disable strict mode so that it provides feedback to the PR screen where the errors are, as for some reason my local is reporting no issues, but the action is... (1f14212)
Okay, test worked. I'll leave strict mode on so it will fail if any errors OR warnings occur. These were the things that the GH Actions were picking up but my local still isn't (61084d3)
Lets try another approach for Xcode builds (b632d16)
Having issues going Swift > Xcode lets try Xcode > Swift (f94a360)
Add a note around the application automatically refreshing on permissions being granted (1540aae)
Debugging working directory, as its still saying no Xcode project found?! (1416a68)
Maybe its because the project needs to be explicitly checked out before hand? Although this isn't mentioned anywhere in the docs or examples... (2eb1b0a)
Force the available newer versions to work, even though their action hasn't updated yet ... this probably won't work, but the images are available on GitHub... (9af638a)
Fix non-private @default's that were missed - TIP: See commit on GitHub and the Action will annotate it with the failures (dbe5f4c)
Add action badges and tidy up the action names (7b3637c)
Working commit for state persistence -- although I'm still having the hang bug when using these variables from within a Combine object, so will need to debug that property by property (a0af277)
Fix infinite loop caused via onRecieve triggering a state refresh (f32b106)
Closes othyn#29 ~ Instead of removing the menu bar, just leave it. There doesn't appear to be a way to do this properly in SwiftUI at all and its doing no harm. I'll take advantage of the help menu to add links to GitHub too! (9a563fc)
Show non-localised strings in run scheme ([Menu Bar] Product > Scheme > Edit Scheme... > Select 'Run' on the left, then on the right side select the Options tab and then select 'Localization Debugging', then 'Close') (10daa6a)
Set project base language to en-GB (you have to do this in an external editor of the xcodeproj file) (605a9a9)
Add support for custom window width, the defaults call here isn't required as the OS remembers the window state, but it lays the ground work should this want to be read from there in future! (749c8a9)