Changeset 90
- Timestamp:
- Jun 7, 2024, 7:32:09 PM (5 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Game.pas
r89 r90 614 614 I: Integer; 615 615 Tile: TTile; 616 const 617 Difficulty = 0.7; 616 618 begin 617 619 FCanUndo := False; 618 620 Board.Clear; 621 WinTileValue := Round((Board.Size.X * Board.Size.Y) * Difficulty); 619 622 Score := 0; 620 623 Running := True; -
trunk/Install/snap/local/build.sh
r84 r90 4 4 5 5 pushd ../../.. 6 snapcraft --debug --use-lxd 6 snapcraft --debug --use-lxd -v $@ 7 7 popd 8 8 -
trunk/Install/snap/snapcraft.yaml
r84 r90 15 15 * Selectable tile skins (linear, exponential, alpha, binary, Roman) 16 16 confinement: strict 17 base: core2 017 base: core22 18 18 grade: stable 19 19 icon: "Images/Logo 64x64.png" … … 43 43 source: . 44 44 source-type: local 45 build-packages: 45 build-packages: 46 46 - fpc 47 47 - lazarus … … 51 51 snapcraftctl build 52 52 lazbuild --build-mode=Release Game2048.lpi 53 ROOT=/root/parts/2048x/install 54 install -d -m 755 $ROOT/usr/bin 55 install -s -m 755 Game2048 $ROOT/usr/bin/Game2048 56 install -d -m 755 $ROOT/usr/share/Game2048/languages 57 install -m 755 Languages/Game2048.po $ROOT/usr/share/Game2048/languages 58 install -m 755 Languages/Game2048.cs.po $ROOT/usr/share/Game2048/languages 59 install -d -m 755 $ROOT/usr/share/applications 60 install -m 755 Install/snap/local/2048.desktop $ROOT/usr/share/applications 61 install -d -m 755 $ROOT/usr/share/pixmaps 62 install -m 755 Images/2048.png $ROOT/usr/share/pixmaps 53 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin 54 install -s -m 755 Game2048 $SNAPCRAFT_PART_INSTALL/usr/bin/Game2048 55 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/Game2048/languages 56 install -m 755 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/Game2048/languages 57 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications 58 install -m 755 Install/snap/local/2048.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications 59 install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps 60 install -m 755 Images/2048.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps 63 61 stage: 64 62 - etc … … 104 102 2048x: 105 103 command: usr/bin/Game2048 106 desktop: usr/share/applications/2048.desktop 104 desktop: usr/share/applications/2048.desktop 107 105 plugs: 108 106 - desktop -
trunk/Packages/Common/Forms/FormAbout.lfm
r85 r90 1 1 object FormAbout: TFormAbout 2 Left = 6242 Left = 929 3 3 Height = 402 4 Top = 6224 Top = 519 5 5 Width = 702 6 6 Caption = 'About' … … 10 10 OnShow = FormShow 11 11 Position = poScreenCenter 12 LCLVersion = ' 2.2.6.0'12 LCLVersion = '3.4.0.0' 13 13 object LabelDescription: TLabel 14 14 Left = 30 … … 88 88 Anchors = [akLeft, akBottom] 89 89 Caption = 'Home page' 90 OnClick = ButtonHomePageClick91 90 ParentFont = False 92 91 TabOrder = 0 92 OnClick = ButtonHomePageClick 93 93 end 94 94 object ButtonClose: TButton
Note:
See TracChangeset
for help on using the changeset viewer.