Skip to content

Commit

Permalink
fix all launch commands on linux & mac (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
b7c authored Nov 20, 2024
1 parent ac1f413 commit 41f30b7
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 44 deletions.
2 changes: 1 addition & 1 deletion store/extensions/Clear Wired Selection/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"commands": {
"default": ["cmd", "/C", "clear-wired-selection.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"windows": ["cmd", "/C", "clear-wired-selection.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"mac": ["chmod", "+x", "clear-wired-selection", "&&", "./clear-wired-selection", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"]
"mac": ["/bin/sh", "-c", "chmod +x clear-wired-selection && ./clear-wired-selection -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"]
},

"compatibility": {
Expand Down
4 changes: 2 additions & 2 deletions store/extensions/G-Trader/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"commands": {
"default": ["cmd", "/C", "g-trader-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"windows": ["cmd", "/C", "g-trader-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"mac": ["chmod", "+x", "g-trader-mac", "&&", "./g-trader-mac", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"linux": ["chmod", "+x", "g-trader-linux", "&&", "./g-trader-linux", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"]
"mac": ["/bin/sh", "-c", "chmod +x g-trader-mac && ./g-trader-mac -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"],
"linux": ["/bin/sh", "-c", "chmod +x g-trader-linux && ./g-trader-linux -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"]
},

"compatibility": {
Expand Down
2 changes: 1 addition & 1 deletion store/extensions/G-itemViewer/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"commands": {
"default": ["cmd", "/C", "G-itemViewer.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"windows": ["cmd", "/C", "G-itemViewer.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"mac": ["chmod", "+x", "G-itemViewer-mac", "&&", "./G-itemViewwer-mac", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"]
"mac": ["/bin/sh", "-c", "chmod +x G-itemViewer-mac && ./G-itemViewer-mac -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"]
},

"compatibility": {
Expand Down
24 changes: 8 additions & 16 deletions store/extensions/Poker/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,29 +47,21 @@
"{filename}"
],
"mac": [
"chmod",
"+x",
"poker-mac",
"&&",
"./poker-mac",
"/bin/sh",
"-c",
"{cookie}",
"-p",
"chmod +x poker-mac && ./poker-mac -p \"$1\" -c \"$2\" -f \"$3\"",
"--",
"{port}",
"-f",
"{cookie}",
"{filename}"
],
"linux": [
"chmod",
"+x",
"poker-linux",
"&&",
"./poker-linux",
"/bin/sh",
"-c",
"{cookie}",
"-p",
"chmod +x poker-linux && ./poker-linux -p \"$1\" -c \"$2\" -f \"$3\"",
"--",
"{port}",
"-f",
"{cookie}",
"{filename}"
]
},
Expand Down
24 changes: 8 additions & 16 deletions store/extensions/Shoutify/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,29 +47,21 @@
"{filename}"
],
"mac": [
"chmod",
"+x",
"shoutify-mac",
"&&",
"./shoutify-mac",
"/bin/sh",
"-c",
"{cookie}",
"-p",
"chmod +x shoutify-mac && ./shoutify-mac -p \"$1\" -c \"$2\" -f \"$3\"",
"--",
"{port}",
"-f",
"{cookie}",
"{filename}"
],
"linux": [
"chmod",
"+x",
"shoutify-linux",
"&&",
"./shoutify-linux",
"/bin/sh",
"-c",
"{cookie}",
"-p",
"chmod +x shoutify-linux && ./shoutify-linux -p \"$1\" -c \"$2\" -f \"$3\"",
"--",
"{port}",
"-f",
"{cookie}",
"{filename}"
]
},
Expand Down
4 changes: 2 additions & 2 deletions store/extensions/Talk To Shout Origins/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"commands": {
"default": ["cmd", "/C", "TalkToShout-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"windows": ["cmd", "/C", "TalkToShout-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"mac": ["chmod", "+x", "TalkToShout-mac", "&&", "./TalkToShout-mac", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"linux": ["chmod", "+x", "TalkToShout-linux", "&&", "./TalkToShout-linux", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"]
"mac": ["/bin/sh", "-c", "chmod +x TalkToShout-mac && ./TalkToShout-mac -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"],
"linux": ["/bin/sh", "-c", "chmod +x TalkToShout-linux && ./TalkToShout-linux -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"]
},

"compatibility": {
Expand Down
4 changes: 2 additions & 2 deletions store/extensions/autogarland/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"commands": {
"default": ["cmd", "/C", "autogarland-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"windows": ["cmd", "/C", "autogarland-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"mac": ["chmod", "+x", "autogarland-mac", "&&", "./fastbuy-mac", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"linux": ["chmod", "+x", "autogarland-linux", "&&", "./fastbuy-linux", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"]
"mac": ["/bin/sh", "-c", "chmod +x autogarland-mac && ./autogarland-mac -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"],
"linux": ["/bin/sh", "-c", "chmod +x autogarland-linux && ./autogarland-linux -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"]
},

"compatibility": {
Expand Down
4 changes: 2 additions & 2 deletions store/extensions/easydice/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"commands": {
"default": ["cmd", "/C", "easydice-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"windows": ["cmd", "/C", "easydice-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"mac": ["chmod", "+x", "easydice-mac", "&&", "./fastbuy-mac", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"linux": ["chmod", "+x", "easydice-linux", "&&", "./fastbuy-linux", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"]
"mac": ["/bin/sh", "-c", "chmod +x easydice-mac && ./easydice-mac -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"],
"linux": ["/bin/sh", "-c", "chmod +x easydice-linux && ./easydice-linux -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"]
},

"compatibility": {
Expand Down
4 changes: 2 additions & 2 deletions store/extensions/fastbuy/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"commands": {
"default": ["cmd", "/C", "fastbuy-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"windows": ["cmd", "/C", "fastbuy-win.exe", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"mac": ["chmod", "+x", "fastbuy-mac", "&&", "./fastbuy-mac", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"],
"linux": ["chmod", "+x", "fastbuy-linux", "&&", "./fastbuy-linux", "-c", "{cookie}", "-p", "{port}", "-f", "{filename}"]
"mac": ["/bin/sh", "-c", "chmod +x fastbuy-mac && ./fastbuy-mac -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"],
"linux": ["/bin/sh", "-c", "chmod +x fastbuy-linux && ./fastbuy-linux -p \"$1\" -c \"$2\" -f \"$3\"", "--", "{port}", "{cookie}", "{filename}"]
},

"compatibility": {
Expand Down

0 comments on commit 41f30b7

Please sign in to comment.