mirror of
https://github.com/13hannes11/focus_annotator.git
synced 2024-09-03 23:21:01 +02:00
Compare commits
3 Commits
feature/ci
...
v0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 3de3949aa9 | |||
| ba57ff2d82 | |||
|
|
36db45d290 |
8
.github/workflows/build_and_publish.yml
vendored
8
.github/workflows/build_and_publish.yml
vendored
@@ -25,14 +25,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build (Windows)
|
- name: Build (Windows)
|
||||||
run: docker-compose -f docker-compose.windows.yml up
|
run: docker-compose -f docker-compose.windows.yml up
|
||||||
- name: rename windows artifact
|
- name: Make Windows Installer
|
||||||
run: mv package.zip windows.zip
|
run: ./create_windows_installer.sh
|
||||||
|
- name: Rename Windows Artifact
|
||||||
|
run: mv package.zip windows-portable.zip
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2.3.1
|
uses: actions/upload-artifact@v2.3.1
|
||||||
with:
|
with:
|
||||||
name: executables
|
name: executables
|
||||||
path: |
|
path: |
|
||||||
*.zip
|
*.zip
|
||||||
|
*.exe
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: [build, build-windows]
|
needs: [build, build-windows]
|
||||||
@@ -47,3 +50,4 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
**/*.AppImage
|
**/*.AppImage
|
||||||
**/*.zip
|
**/*.zip
|
||||||
|
**/*.exe
|
||||||
|
|||||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +1,6 @@
|
|||||||
/target
|
/target
|
||||||
*.zip
|
/Output
|
||||||
|
/package
|
||||||
/libs
|
/libs
|
||||||
|
*.zip
|
||||||
|
*.exe
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -158,7 +158,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "focus-annotator"
|
name = "focus-annotator"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"derive_builder",
|
"derive_builder",
|
||||||
"gls",
|
"gls",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "focus-annotator"
|
name = "focus-annotator"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Focus Annotator is a tool for annotation the focal plane of a part of an image.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Currently the application can only be optained by compiling from source.
|
You can either download the latest release [here](https://github.com/13hannes11/focus_annotator/releases) or compile from source.
|
||||||
|
|
||||||
## Compilation Instructions
|
## Compilation Instructions
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ Currently the application can only be optained by compiling from source.
|
|||||||
|
|
||||||
The tool can be compiled with docker-compose:
|
The tool can be compiled with docker-compose:
|
||||||
|
|
||||||
* Linux Version `docker-compose up` (found in *target/release/*, dependencies are not included therefore install `libadwaita` via your distros package manager)
|
* Linux Version `docker-compose up` (compiles to AppImage)
|
||||||
* Windows Version: `docker-compose -f docker-compose.windows.yml up` (the resulting file is packaged as *package.zip*, dependencies included)
|
* Windows Version: `docker-compose -f docker-compose.windows.yml up` (the resulting file is packaged as *package.zip*, dependencies included)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
10
create_windows_installer.sh
Executable file
10
create_windows_installer.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
unzip -o package.zip
|
||||||
|
docker rm setup
|
||||||
|
docker container create --name setup amake/innosetup setup.iss
|
||||||
|
docker cp ./package setup:/work/
|
||||||
|
docker cp setup.iss setup:/work/
|
||||||
|
docker cp LICENSE.md setup:/work/
|
||||||
|
docker start -i -a setup
|
||||||
|
docker cp setup:/work/Output/. .
|
||||||
|
docker rm setup
|
||||||
|
rm -r package
|
||||||
43
setup.iss
Normal file
43
setup.iss
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
; Script generated by the Inno Setup Script Wizard.
|
||||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
||||||
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||||
|
AppId={{0AD7C555-49E0-47FC-A6ED-22677FD5AD28}
|
||||||
|
AppName=Focus Annotator
|
||||||
|
AppVersion=0.1.0
|
||||||
|
;AppVerName=Focus Annotator 0.1.0
|
||||||
|
AppPublisher=Hannes Fredrik Kuchelmeister
|
||||||
|
AppPublisherURL=https://github.com/13hannes11/focus_annotator
|
||||||
|
AppSupportURL=https://github.com/13hannes11/focus_annotator
|
||||||
|
AppUpdatesURL=https://github.com/13hannes11/focus_annotator
|
||||||
|
DefaultDirName={autopf}\Focus Annotator
|
||||||
|
DisableProgramGroupPage=yes
|
||||||
|
LicenseFile=LICENSE.md
|
||||||
|
; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
||||||
|
;PrivilegesRequired=lowest
|
||||||
|
PrivilegesRequiredOverridesAllowed=dialog
|
||||||
|
OutputBaseFilename=focus_annotator_setup
|
||||||
|
Compression=lzma
|
||||||
|
SolidCompression=yes
|
||||||
|
WizardStyle=modern
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "package\focus-annotator.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "package\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Name: "{autoprograms}\Focus Annotator"; Filename: "{app}\focus-annotator.exe"
|
||||||
|
Name: "{autodesktop}\Focus Annotator"; Filename: "{app}\focus-annotator.exe"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\focus-annotator.exe"; Description: "{cm:LaunchProgram,Focus Annotator}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
Reference in New Issue
Block a user