Skip to content

Commit e276db6

Browse files
committed
windows
1 parent b6f6c91 commit e276db6

4 files changed

Lines changed: 67 additions & 4 deletions

File tree

‎.gitattributes‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.zip filter=lfs diff=lfs merge=lfs -text
2+
*.exe filter=lfs diff=lfs merge=lfs -text

‎dist/index.html‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,18 @@
1313
<style>
1414
img {
1515
aspect-ratio: auto;
16-
max-width: 90svw;
16+
max-width: 50svw;
1717
}
1818
</style>
1919
</head>
2020
<body>
2121
<main>
22-
<h1>Oncle Bob</h1>
22+
<h1><img src="app_icon_256.png" style="border-radius: 1em; box-shadow: 0 0 1em #000; max-width: 50svw" /><br />Oncle Bob</h1>
2323
<p>Start, build, preview, launch static websites without the terminal.</p>
24-
<a href="mac/Oncle%20Bob.zip"><img src="app_icon_256.png" style="border-radius: 1em; box-shadow: 0 0 1em #000; max-width: 50svw" /><br/>Mac prerelease</a>
25-
<p>Coming soon on Windows and Linux!</p>
24+
<p>
25+
<a href="mac/Oncle%20Bob.zip">Mac prerelease</a> —
26+
<a href="win/Oncle%20Bob%20setup.exe">Windows prerelease</a>
27+
</p>
2628
<p><img src="preview.avif"/></p>
2729
<p></p><img src="preview2.avif"/></p>
2830
</main>

‎dist/win/Oncle Bob setup.exe‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:f33d146230889ace80294cd61e8cb84beb02c99d61236965c6fda5145525db18
3+
size 43373966

‎installer.iss‎

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
; Non-commercial use only
4+
5+
#define MyAppName "Oncle Bob"
6+
#define MyAppVersion "0.0.1"
7+
#define MyAppPublisher "xmit.dev"
8+
#define MyAppURL "https://xmit.dev/"
9+
#define MyAppExeName "bob.exe"
10+
11+
[Setup]
12+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
13+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
14+
AppId={{7847C5D2-13C2-49A6-AEA7-A5A352A55ADB}
15+
AppName={#MyAppName}
16+
AppVersion={#MyAppVersion}
17+
;AppVerName={#MyAppName} {#MyAppVersion}
18+
AppPublisher={#MyAppPublisher}
19+
AppPublisherURL={#MyAppURL}
20+
AppSupportURL={#MyAppURL}
21+
AppUpdatesURL={#MyAppURL}
22+
DefaultDirName={autopf}\{#MyAppName}
23+
UninstallDisplayIcon={app}\{#MyAppExeName}
24+
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
25+
; on anything but x64 and Windows 11 on Arm.
26+
ArchitecturesAllowed=x64compatible
27+
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
28+
; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
29+
; meaning it should use the native 64-bit Program Files directory and
30+
; the 64-bit view of the registry.
31+
ArchitecturesInstallIn64BitMode=x64compatible
32+
DisableProgramGroupPage=yes
33+
; Uncomment the following line to run in non administrative install mode (install for current user only).
34+
;PrivilegesRequired=lowest
35+
PrivilegesRequiredOverridesAllowed=dialog
36+
OutputDir=C:\bob\dist\win
37+
OutputBaseFilename=Oncle Bob setup
38+
SolidCompression=yes
39+
WizardStyle=modern
40+
41+
[Languages]
42+
Name: "english"; MessagesFile: "compiler:Default.isl"
43+
44+
[Tasks]
45+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
46+
47+
[Files]
48+
Source: "C:\bob\build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
49+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
50+
51+
[Icons]
52+
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
53+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
54+
55+
[Run]
56+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
57+

0 commit comments

Comments
 (0)