Changeset 372


Ignore:
Timestamp:
Jan 2, 2025, 10:15:48 PM (2 days ago)
Author:
chronos
Message:
  • Added: Application icon with 128x128 resolution.
Location:
trunk
Files:
2 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r371 r372  
    520520{$IFDEF UNIX}
    521521const
     522  LanguagesDir = 'Languages';
    522523  LinuxBaseDir = '/usr/share/xtactics';
    523   LinuxLanguagesDir = LinuxBaseDir + '/Languages';
     524  LinuxLanguagesDir = LinuxBaseDir + DirectorySeparator + LanguagesDir;
    524525  LinuxBaseDir2 = '/app/share/xtactics';
    525   LinuxLanguagesDir2 = LinuxBaseDir2 + '/Languages';
     526  LinuxLanguagesDir2 = LinuxBaseDir2 + DirectorySeparator + LanguagesDir;
    526527{$ENDIF}
    527528begin
    528529  BaseDir := ExtractFilePath(ParamStr(0));
    529   Translator1.POFilesFolder := BaseDir + DirectorySeparator + 'Languages';
     530  Translator1.POFilesFolder := BaseDir + DirectorySeparator + LanguagesDir;
    530531
    531532  {$IFDEF UNIX}
  • trunk/Install/deb/debian/rules

    r367 r372  
    2828        install -m 644 Install/deb/xtactics.xml $(ROOT)/usr/share/mime/packages
    2929        install -d -m 755 $(ROOT)/usr/share/pixmaps
    30         install -m 644 Images/64x64/xtactics.png $(ROOT)/usr/share/pixmaps
    31         install -m 644 Images/64x64/xtactics.png $(ROOT)/usr/share/pixmaps/application-xtg.png
    32         install -m 644 Images/64x64/xtactics.png $(ROOT)/usr/share/pixmaps/application-xts.png
     30        install -m 644 Images/128x128/xtactics.png $(ROOT)/usr/share/pixmaps
     31        install -m 644 Images/128x128/xtactics.png $(ROOT)/usr/share/pixmaps/application-xtg.png
     32        install -m 644 Images/128x128/xtactics.png $(ROOT)/usr/share/pixmaps/application-xts.png
    3333
    3434%:
  • trunk/Install/flatpak

    • Property svn:ignore
      •  

        old new  
        11.flatpak-builder
        22build
         3repo
  • trunk/Install/flatpak/net.zdechov.app.xTactics.yml

    r371 r372  
    2727      - type: svn
    2828        url: https://svn.zdechov.net/xtactics/trunk
    29         revision: r371
     29        revision: r372
    3030    buildsystem: simple
    3131    build-commands:
     
    4242      - install -d -m 755 $FLATPAK_DEST/share/xtactics/Images
    4343      - cp -r Images/Maps $FLATPAK_DEST/share/xtactics/Images
    44       - install -Dm644 Images/64x64/xtactics.png -t $FLATPAK_DEST/share/icons/hicolor/64x64/apps
     44      - install -Dm644 Images/128x128/xtactics.png -t $FLATPAK_DEST/share/icons/hicolor/128x128/apps
    4545      - install -Dm644 Install/flatpak/${FLATPAK_ID}.metainfo.xml -t $FLATPAK_DEST/share/metainfo
  • trunk/Install/rpm/xtactics.spec

    r367 r372  
    2828install -d -m 755 $RPM_BUILD_ROOT/usr/bin
    2929install -s -m 755 xtactics $RPM_BUILD_ROOT/usr/bin
    30 install -d -m 755 $RPM_BUILD_ROOT/usr/share/xtactics/Languages
    31 install -m 644 Languages/*.po $RPM_BUILD_ROOT/usr/share/xtactics/Languages
    32 install -m 644 Packages/Common/Languages/*.po $(ROOT)/usr/share/xtactics/Languages
    33 install -m 644 Packages/CoolStreaming/Languages/*.po $(ROOT)/usr/share/xtactics/Languages
     30install -Dm644 Languages/*.po -t $RPM_BUILD_ROOT/usr/share/xtactics/Languages
     31install -Dm644 Packages/Common/Languages/*.po -t $(ROOT)/usr/share/xtactics/Languages
     32install -Dm644 Packages/CoolStreaming/Languages/*.po -t $(ROOT)/usr/share/xtactics/Languages
    3433install -d -m 755 $RPM_BUILD_ROOT/usr/share/xtactics/images/maps
    35 install -m 644 Images/Maps/Europe.png $RPM_BUILD_ROOT/usr/share/xtactics/images/maps
    36 install -m 644 Images/Maps/WorldMap.png $RPM_BUILD_ROOT/usr/share/xtactics/images/maps
    37 install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications
    38 install -m 644 Install/deb/xtactics.desktop $RPM_BUILD_ROOT/usr/share/applications
    39 install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps
    40 install -m 644 Images/64x64/xtactics.png $RPM_BUILD_ROOT/usr/share/pixmaps
     34install -Dm644 Images/Maps/Europe.png -t $RPM_BUILD_ROOT/usr/share/xtactics/Images/Maps
     35install -Dm644 Images/Maps/WorldMap.png -t $RPM_BUILD_ROOT/usr/share/xtactics/Images/Maps
     36install -Dm644 Install/deb/xtactics.desktop -t $RPM_BUILD_ROOT/usr/share/applications
     37install -Dm644 Images/128x128/xtactics.png -t $RPM_BUILD_ROOT/usr/share/pixmaps
    4138
    4239%clean
  • trunk/Install/snap/snapcraft.yaml

    r368 r372  
    5858      install -Dm644 Install/deb/xtactics.desktop -t $SNAPCRAFT_PART_INSTALL/usr/share/applications
    5959      install -Dm644 Install/deb/xtactics.xml -t $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
    60       install -Dm644 Images/64x64/xtactics.png -t $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    61       install -Dm644 Images/64x64/xtactics.png -t $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xtg.png
    62       install -Dm644 Images/64x64/xtactics.png -t $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xts.png
     60      install -Dm644 Images/128x128/xtactics.png -t $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     61      install -Dm644 Images/128x128/xtactics.png -t $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xtg.png
     62      install -Dm644 Images/128x128/xtactics.png -t $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xts.png
    6363      cp -r Systems $SNAPCRAFT_PART_INSTALL/usr/share/xtactics
    6464      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Images
  • trunk/Install/win/xTactics.iss

    r305 r372  
    7373Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
    7474Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
     75Source: "{#MyAppSubDir}\Packages\Common\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
     76Source: "{#MyAppSubDir}\Packages\CoolStreaming\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
    7577Source: "{#MyAppSubDir}\Images\Maps\*.*"; DestDir: "{app}\Images\Maps"; Flags: ignoreversion
    7678Source: "{#MyAppSubDir}\Systems\*.*"; DestDir: "{app}\Systems"; Flags: ignoreversion
Note: See TracChangeset for help on using the changeset viewer.