Shrine Maiden Aly :yuyueat: :american_megatrans: on Nostr: the ugly hack needed for this to work from a .app are insane the game executable ...
the ugly hack needed for this to work from a .app are insane
the game executable wants to read game assets from the same folder its in. Ok, dump them in the reVc.app/Contents/MacOS folder.
no, no the game refuses to read from that folder for some reason, even when ran directly from the command line.
So i put the executable and the game in a sub folder, and then wrote a shell script to `cd` to the MacOS folder, then `cd ..`, `cd game`, which then from there runs the executable
why is macos like this
Published at
2025-02-19 19:39:53Event JSON
{
"id": "0b927553977c6b7d85a09cba72e62cc7195d12a33a5d5c3bb051eb5ddd900d30",
"pubkey": "d23b7e953fe5a7e677b6d0f125e4a174a787a270fbdbca7b3e45745326751b1e",
"created_at": 1739993993,
"kind": 1,
"tags": [
[
"p",
"d23b7e953fe5a7e677b6d0f125e4a174a787a270fbdbca7b3e45745326751b1e"
],
[
"e",
"d2893a3e66a73cbc211871ac718eeff2e8fb78e9237671bb4eb02170c2173f8b",
"",
"root",
"d23b7e953fe5a7e677b6d0f125e4a174a787a270fbdbca7b3e45745326751b1e"
],
[
"proxy",
"https://akko.wtf/objects/1960b44e-0ed6-4c2d-82ce-9ef9253e677f",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://akko.wtf/objects/1960b44e-0ed6-4c2d-82ce-9ef9253e677f",
"pink.momostr"
],
[
"-"
]
],
"content": "the ugly hack needed for this to work from a .app are insane\r\n\r\nthe game executable wants to read game assets from the same folder its in. Ok, dump them in the reVc.app/Contents/MacOS folder.\r\nno, no the game refuses to read from that folder for some reason, even when ran directly from the command line.\r\n\r\nSo i put the executable and the game in a sub folder, and then wrote a shell script to `cd` to the MacOS folder, then `cd ..`, `cd game`, which then from there runs the executable\r\n\r\nwhy is macos like this",
"sig": "119659be01d69575935c6b23529f6fb0a37ac849069814f5460cff4f69b6b91192aba52f7c70603b2ed0865318b51821161f66abb806869536f8b455f85ee24e"
}