11 Commits

10 changed files with 760 additions and 731 deletions

View File

@@ -12,7 +12,7 @@ post {
headers { headers {
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/x-www-form-urlencoded
} }
body:form-urlencoded { body:form-urlencoded {
@@ -20,7 +20,7 @@ body:form-urlencoded {
client_id: {{ANILIST_APP_ID}} client_id: {{ANILIST_APP_ID}}
client_secret: {{ANILIST_SECRET_TOKEN}} client_secret: {{ANILIST_SECRET_TOKEN}}
redirect_uri: http://localhost:6734/callback redirect_uri: http://localhost:6734/callback
code: {{code}} code: {{ANILIST_CODE}}
} }
body:multipart-form { body:multipart-form {

View File

@@ -9,7 +9,7 @@ vars {
} }
vars:secret [ vars:secret [
ANILIST_ACCESS_TOKEN, ANILIST_ACCESS_TOKEN,
code, ANILIST_CODE,
SIMKL_AUTH_TOKEN, SIMKL_AUTH_TOKEN,
MAL_CODE, MAL_CODE,
MAL_VERIFIER, MAL_VERIFIER,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

BIN
build/icon/128/AniTrack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
build/icon/32/AniTrack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
build/icon/48/AniTrack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
build/icon/64/AniTrack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

26
build/install_linux.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# copy desktop file
if [ -e "~/.local/share/applications/AniTrack.desktop" ]; then
if [ -d "~/.local/share/applications/" ]; then
cp ./AniTrack.desktop ~/.local/share/applications/
else
mkdir -p ~/.local/share/applications/
cp ./AniTrack.desktop ~/.local/share/applications/
fi
fi
# copy icons to xdg folders
for size in 32 48 64 128; do
xdg-icon-resource install --novendor --context apps --size $size ./icon/$size/AniTrack.png AniTrack
done
# copy AniTrack Binary to $HOME/Applications/
if ! [ -d "~/Applications" ]; then
mkdir -p ~/Applications
cp ./bin/AniTrack ~/Applications/
elif ! [[ -e ~/Applications/AniTrack ]]; then
cp ./bin/AniTrack ~/Applications/
fi
echo "AniTrack has been successfully installed."

File diff suppressed because it is too large Load Diff

View File

@@ -12,6 +12,6 @@
}, },
"info": { "info": {
"productName": "AniTrack", "productName": "AniTrack",
"productVersion": "0.1.7" "productVersion": "0.1.8"
} }
} }