- Timestamp:
- Aug 4, 2021, 5:27:54 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/snap/local/build.sh
r82 r84 4 4 5 5 pushd ../../.. 6 snapcraft --debug 6 snapcraft --debug --use-lxd 7 7 popd 8 8 -
trunk/Install/snap/snapcraft.yaml
r82 r84 53 53 ROOT=/root/parts/2048x/install 54 54 install -d -m 755 $ROOT/usr/bin 55 install -s -m 755 Game2048 $ROOT/usr/bin/ 204855 install -s -m 755 Game2048 $ROOT/usr/bin/Game2048 56 56 install -d -m 755 $ROOT/usr/share/Game2048/languages 57 57 install -m 755 Languages/Game2048.po $ROOT/usr/share/Game2048/languages … … 103 103 apps: 104 104 2048x: 105 command: usr/bin/ 2048105 command: usr/bin/Game2048 106 106 desktop: usr/share/applications/2048.desktop 107 107 plugs: 108 108 - desktop 109 - x11 110 111 layout: 112 /usr/share/Game2048: 113 bind: $SNAP/usr/share/Game2048 -
trunk/UCore.pas
r80 r84 73 73 74 74 procedure TCore.DataModuleCreate(Sender: TObject); 75 const 76 LinuxLanguagesDir = '/usr/share/Game2048/languages'; 75 77 begin 76 78 {$IFDEF Linux} 77 79 // If installed in Linux system then use installation directory for po files 78 if Application.ExeName = '/usr/bin/Game2048'then79 Translator1.POFilesFolder := '/usr/share/Game2048/languages';80 if not DirectoryExists(Translator1.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then 81 Translator1.POFilesFolder := LinuxLanguagesDir; 80 82 {$ENDIF} 81 83 -
trunk/UGame.pas
r79 r84 631 631 632 632 ValueStr := SScore + ': ' + IntToStr(Score); 633 MetaCanvas.Brush.Style := bsClear; 633 634 MetaCanvas.Font.Color := Core.ThemeManager1.Theme.ColorControlText; 634 635 MetaCanvas.Font.Height := Trunc(TopBarHeight * 0.7);
Note:
See TracChangeset
for help on using the changeset viewer.