Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 4253c7d

Browse files
committed
stuff
1 parent 7c9b15e commit 4253c7d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ jobs:
2929

3030
- name: Rezip files
3131
run: |
32-
for file in *; do echo "./${file}"; cd ${file}; chmod +x ./*; tar czf $artifact ../${file}.tar.gz *; cd ..; rm -r ${file}; done
32+
for file in *; do
33+
echo "./${file}"
34+
cd ${file}; chmod +x ./*
35+
tar czf $artifact ../${file}.tar.gz *
36+
cd ..
37+
rm -r ${file}
38+
done
3339
ls
3440
3541
- name: Echo url

TypeWriter/TypeWriter/Assets/ExecutableProject/Main.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ coroutine.wrap(function ()
1111

1212
local function InstallLocation()
1313
local Locations = {
14-
["win32"] = (process.env.APPDATA or "") .. "\\.TypeWriter\\",
15-
["darwin"] = (process.env.HOME or "") .. "/Library/Application Support/TypeWriter/"
14+
[true] = (process.env.APPDATA or "") .. "\\.TypeWriter\\",
15+
[false] = (process.env.HOME or "") .. "/.TypeWriter/"
1616
}
1717

18-
return Locations[Os]
18+
return Locations[Os == "win32"]
1919
end
2020

2121
local function IsInstalled()

0 commit comments

Comments
 (0)