Commit graph

74 commits

Author SHA1 Message Date
Nicolas "Pixel" Noble
8993dac1d3 Switching from dockerhub to ghcr.
See https://github.com/docker/hub-feedback/issues/2314
2023-03-15 20:10:36 -07:00
Thankful Machine
92ac38bad9 Move mac app codesigning into GitHub workflows
The app cannot be modified after signing, and there are some files copied into
the app bundle during the CI workflows, so move signing as the last modifying
step there.
2023-02-06 20:33:25 -08:00
Thankful Machine
8f0f41291d Improve mac app layout
When downloading an app or disk image from the Web, files get the
`com.apple.quarantine` attribute which signals to the OS that the app may be
unsafe. The user can still let the app to run from Finder, which removes the
attribute and allows future runs to proceed without a prompt.

However, if an app is irregular, the user can't approve it normally and it may
get labeled as "damaged". The workaround is to remove the attribute with
something like `xattr` in the terminal but that isn't necessary.

Change the `create-app.sh` script to bring the app into a more typical form for
macOS and remove files that might interfere with code-signing or needlessly
increase the app's size.

- Don't symlink the `pcsx-redux` binary. Make the real binary exist at
  `./Contents/MacOS/PCSX-Redux`.
  - Remove the now empty `./Contents/Resources/bin`.
- Call the app icon `AppIcon.icns` as is customary.
  - Remove source images after constructing the app icon.
- Move dylibs into `./Contents/Frameworks`.
  - Add this path to the executable's `@rpath`.
  - Use `@rpath` instead of `@executable_path` for library locations.
- Removing the quarantine attribute during the build has no effect.
- Remove the Linux desktop things from
  `./Contents/Resources/share/applications` as it isn't necessary for macOS.
- Ad-hoc codesign the app after making changes.
  This must *always* be the very last step.

Update the README about this.
2023-02-04 22:19:39 -08:00
Nicolas Noble
e4b7a44d51
Force pushing to the read only mirror. 2022-08-09 01:29:57 -07:00
Nicolas Noble
f097c6561b
Trying, once again, to fix AppImage stuff... 2022-05-26 10:40:36 -07:00
Nicolas 'Pixel' Noble
806b06f8b7 CI needs root. 2022-05-15 16:18:00 -07:00
Nicolas 'Pixel' Noble
55a2587b0e Adding pre-reqs. 2022-05-15 16:07:53 -07:00
Nicolas Pixel Noble
267f0ae43e Adding Linux toolchain test. 2022-05-15 15:52:53 -07:00
Nicolas Noble
694baf02be
Yet another AppImage fix attempt. 2022-05-10 22:17:49 -07:00
Nicolas Noble
74c5d69a85
Second attempt at fixing Linux build. 2022-05-09 19:38:10 -07:00
Nicolas Noble
426cb9e6dd
Trying to fix Linux build...? 2022-05-08 23:04:38 -07:00
Nicolas Noble
714bb85080
Fixing chores too. 2022-05-04 20:59:36 -07:00
Nicolas Noble
7af7b10437
Fixing yaml... 2022-05-04 20:58:35 -07:00
Nicolas Pixel Noble
be9da8d4c2 Fixing MacOS workflows. 2022-04-30 23:49:21 -07:00
Nicolas Pixel Noble
46780bcab9 Fully switching to gcc. 2022-04-30 23:06:17 -07:00
Nicolas Pixel Noble
4e06674ba5 Flipping compiler. 2022-04-30 21:17:41 -07:00
Nicolas Pixel Noble
0748566bf1 Updating compilers... 2022-04-30 20:08:57 -07:00
Nicolas Pixel Noble
dac73aa090 Derp? 2022-04-30 19:14:29 -07:00
Nicolas Noble
6f0349fbf4
Merge pull request #811 from grumpycoders/macos-version.json
Adding version.json to MacOS build.
2022-04-17 21:38:03 -07:00
Nicolas Noble
8fb0040261
Finally getting it right... 2022-04-17 21:11:42 -07:00
Nicolas Noble
012f7a30d6
Adding version.json to MacOS build. 2022-04-17 20:47:18 -07:00
Nicolas Noble
c91e0e8d3e
Forgot one entry. 2022-04-17 20:33:04 -07:00
Nicolas Noble
7c0217e180
Proper location for version.json file 2022-04-17 19:42:56 -07:00
Nicolas Pixel Noble
4d9e54b239 Creating version.json for Linux distributions. 2022-04-17 18:12:29 -07:00
Nicolas 'Pixel' Noble
666f549df8 Trying to add CI for the arm64 cross compilation. 2022-04-01 21:00:37 -07:00
Nicolas Noble
3fe0282935
Fixing distribution token 2021-10-11 10:05:41 -07:00
Nicolas 'Pixel' Noble
3e8ee491af Migrating from circleci to github actions. 2021-10-10 23:25:15 -07:00
Nicolas Noble
2299da033f
Adding apt-get update... 2021-06-29 18:21:13 -07:00
Nicolas Noble
c8cbfc85f9
Update build.yml 2021-06-09 12:32:23 -07:00
Nicolas Noble
bba3cdcae7
Splitting away build.yml more 2021-06-08 21:07:27 -07:00
Nicolas Noble
2753eddf73
Some fixes and more tweaks 2021-06-08 18:52:52 -07:00
Nicolas Noble
7d3a563505
Setting up DMG icon 2021-06-08 18:28:37 -07:00
Nicolas Noble
f22ce3f681
Proper directory location for OpenBIOS in MacOS 2021-06-08 13:14:13 -07:00
Nicolas Noble
c9504520cd
Properly embedding OpenBIOS in the dmg? 2021-06-08 11:31:52 -07:00
Nicolas Noble
700518b555
Trying with group name... 2021-06-07 00:51:33 -07:00
Nicolas Noble
9d6661bbe0
Trying to add a version number. 2021-06-06 23:58:02 -07:00
Nicolas Noble
ca3c3c3159
Overhauling MacOS distrib, once again 2021-06-06 23:28:11 -07:00
Nicolas Noble
0cb09cfadf
Trying with dmg now... 2021-06-06 22:59:15 -07:00
Nicolas Noble
5a71fee2a2
Seriously? 2021-06-06 21:18:58 -07:00
Nicolas Noble
2c7604ec2c
More MacOS debugging... 2021-06-06 21:11:33 -07:00
Nicolas Noble
3c3b399cb7
Yet another stab at at... 2021-06-06 20:37:34 -07:00
Nicolas Noble
8967df87fc
Nope, still not working. More debugging... 2021-06-06 20:06:49 -07:00
Nicolas Noble
a65cc20c49
Trying yet something else. Why is this so broken, github? 2021-06-06 19:43:43 -07:00
Nicolas Noble
8758a55551
Forgot to checkout repo. 2021-06-06 19:09:50 -07:00
Nicolas Noble
5b16094b5c
Seems like github action upload / download is hopelessly broken... 2021-06-06 14:44:32 -07:00
Nicolas Noble
2b86257f8e
Debugging Mac build... 2021-06-06 14:18:46 -07:00
Nicolas 'Pixel' Noble
7dcb96218b Proper split between openbios and the rest, and proper publishing. 2021-06-06 13:05:00 -07:00
Nicolas 'Pixel' Noble
35d7cc8218 Properly bundling all dependencies. 2021-06-05 22:29:36 -07:00
Nicolas Noble
b489dc7e85
Attempting to fix push auth issue. 2021-05-30 11:13:52 -07:00
Nicolas Noble
ef91ad8147
Addressing filtering issues. 2021-05-30 10:57:46 -07:00