Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Commit 2506f1e

Browse files
authored
Merge pull request #57 from OpenChartProject/dev/windows-publishing
Create a Windows installer, add versioning
2 parents 12f2963 + 945c270 commit 2506f1e

File tree

19 files changed

+1171
-102
lines changed

19 files changed

+1171
-102
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,15 @@ jobs:
9292
name: build
9393

9494
- name: Publish
95-
run: bash -c './tasks.sh publish'
95+
run: ./tasks.sh publish
96+
shell: bash
97+
98+
- name: Bundle
99+
run: ./tasks.sh bundle
100+
shell: bash
96101

97102
- name: Upload artifact
98103
uses: actions/upload-artifact@v1
99104
with:
100105
name: win-x64
101-
path: dist/win-x64
106+
path: bundle/Output/install-OpenChart.exe

OpenChart/OpenChart.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<PlatformTarget>x64</PlatformTarget>
66
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers>
7+
<Version>0.1.0</Version>
78
</PropertyGroup>
89
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
910
<DebugType>None</DebugType>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<OutputType>WinExe</OutputType>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<PlatformTarget>x64</PlatformTarget>
6+
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers>
7+
<Version>$VERSION</Version>
8+
</PropertyGroup>
9+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
10+
<DebugType>None</DebugType>
11+
<PublishSingleFile>true</PublishSingleFile>
12+
<PublishTrimmed>true</PublishTrimmed>
13+
</PropertyGroup>
14+
<ItemGroup>
15+
<None Remove="**\*.glade"/>
16+
<EmbeddedResource Include="**\*.glade">
17+
<LogicalName>%(Filename)%(Extension)</LogicalName>
18+
</EmbeddedResource>
19+
</ItemGroup>
20+
<ItemGroup>
21+
<PackageReference Include="GtkSharp" Version="3.22.25.*"/>
22+
<PackageReference Include="ManagedBass" Version="2.0.4"/>
23+
<PackageReference Include="Serilog" Version="2.9.0"/>
24+
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0"/>
25+
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1"/>
26+
</ItemGroup>
27+
</Project>
216 KB
Binary file not shown.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[CustomMessages]
2+
IDP_FormCaption =Downloading additional files
3+
IDP_FormDescription =Please wait while Setup is downloading additional files...
4+
IDP_TotalProgress =Total progress
5+
IDP_CurrentFile =Current file
6+
IDP_File =File:
7+
IDP_Speed =Speed:
8+
IDP_Status =Status:
9+
IDP_ElapsedTime =Elapsed time:
10+
IDP_RemainingTime =Remaining time:
11+
IDP_DetailsButton =Details
12+
IDP_HideButton =Hide
13+
IDP_RetryButton =Retry
14+
IDP_IgnoreButton =Ignore
15+
IDP_KBs =KB/s
16+
IDP_MBs =MB/s
17+
IDP_X_of_X =%.2f of %.2f
18+
IDP_KB =KB
19+
IDP_MB =MB
20+
IDP_GB =GB
21+
IDP_Initializing =Initializing...
22+
IDP_GettingFileInformation=Getting file information...
23+
IDP_StartingDownload =Starting download...
24+
IDP_Connecting =Connecting...
25+
IDP_Downloading =Downloading...
26+
IDP_DownloadComplete =Download complete
27+
IDP_DownloadFailed =Download failed
28+
IDP_CannotConnect =Cannot connect
29+
IDP_CancellingDownload =Cancelling download...
30+
IDP_Unknown =Unknown
31+
IDP_DownloadCancelled =Download cancelled
32+
IDP_RetryNext =Check your connection and click 'Retry' to try downloading the files again, or click 'Next' to continue installing anyway.
33+
IDP_RetryCancel =Check your connection and click 'Retry' to try downloading the files again, or click 'Cancel' to terminate setup.
34+
IDP_FilesNotDownloaded =The following files were not downloaded:
35+
IDP_HTTPError_X =HTTP error %d
36+
IDP_400 =Bad request (400)
37+
IDP_401 =Access denied (401)
38+
IDP_404 =File not found (404)
39+
IDP_407 =Proxy authentication required (407)
40+
IDP_500 =Server internal error (500)
41+
IDP_502 =Bad gateway (502)
42+
IDP_503 =Service temporaily unavailable (503)

0 commit comments

Comments
 (0)