Skip to content

Commit 93c6ab0

Browse files
committed
auto version
1 parent 588149c commit 93c6ab0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

windows/deploy.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
app_name="Jorts"
1818
build_dir="builddir"
1919
theme_name="io.elementary.stylesheet.blueberry"
20-
version="4.0.0"
20+
icon_theme="elementary"
21+
version="$(cat meson.build | grep version | cut -d \' -f 2)"
2122
publisher="ellie-commons"
2223

2324
deploy_dir="windows/deploy"
@@ -111,8 +112,8 @@ mkdir -v ${deploy_dir}/etc/gtk-4.0/
111112
cat << EOF > ${deploy_dir}/etc/gtk-4.0/settings.ini
112113
[Settings]
113114
gtk-theme-name=${theme_name}
114-
gtk-icon-theme-name=elementary
115-
gtk-font-name=Inter Variable 9
115+
gtk-icon-theme-name=${icon_theme}
116+
gtk-font-name=Inter 9
116117
gtk-xft-antialias=1
117118
gtk-xft-hinting=1
118119
gtk-xft-hintstyle=hintful
@@ -233,7 +234,7 @@ Section "Install"
233234
SetOutPath "\$LOCALAPPDATA\\Microsoft\\Windows\\Fonts"
234235
File /r "fonts\\*"
235236
WriteRegStr HKCU "Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts" "Redacted Script Regular (TrueType)" "\$LOCALAPPDATA\\Microsoft\\Windows\\Fonts\\RedactedScript-Regular.ttf"
236-
WriteRegStr HKCU "Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts" "Inter Variable (TrueType)" "\$LOCALAPPDATA\\Microsoft\\Windows\\Fonts\\InterVariable.ttf"
237+
WriteRegStr HKCU "Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts" "Inter (TrueType)" "\$LOCALAPPDATA\\Microsoft\\Windows\\Fonts\\InterVariable.ttf"
237238
SetOutPath "\$INSTDIR"
238239
239240
; Start menu

0 commit comments

Comments
 (0)