Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ jobs:
cache: 'npm'
- run: npm ci --prefer-offline --no-audit --ignore-scripts
- run: npm run make:prod
- run: npm run make:prod-appx
# - uses: actions/upload-artifact@v4
# with:
# name: 'Light Matter Installer'
# path: 'dist/executables/Light Matter Setup*.exe'
- uses: softprops/action-gh-release@v2
with:
files: 'dist/executables/Light Matter Setup*.exe'
files: |
'dist/executables/Light Matter Setup*.exe'
'dist/executables/Light Matter *.appx'
34 changes: 34 additions & 0 deletions apps/desktop/src/app/options/maker-appx.options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "../../../../../node_modules/nx-electron/src/validation/maker.schema.json",
"productName": "Light Matter",
"fileAssociations": [
{
"ext": [
"jpg",
"jpeg",
"jxl",
"png",
"gif",
"svg",
"webp",
"avif",
"bmp"
],
"role": "Viewer"
}
],
"appx": {
"applicationId": "hexmode.org.LightMatter",
"identityName": "62205hexmode.org.LightMatter",
"displayName": "Light Matter",
"publisher": "CN=A139D0AB-B22F-434F-A983-4845D29D550E",
"publisherDisplayName": "hexmode.org"
},
"win": {
"icon": "./apps/desktop/src/assets/icon.ico",
"target": "appx"
},
"electronLanguages": [
"en-GB"
]
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "@light-matter/source",
"author": "hexmode.org",
"version": "0.0.4",
"description": "A simple image viewer with HDR photo support for Windows",
"license": "MIT",
"scripts": {
"format": "dprint fmt",
Expand All @@ -12,6 +14,7 @@
"test:ci": "nx run-many --all --target=test --configuration=ci --parallel=3 --runInBand --ci --code-coverage --coverageReporters=lcov",
"build:ci": "nx run-many --all --target=build",
"make:prod": "nx run web:build:production && nx run desktop:build:production && nx run desktop:make",
"make:prod-appx": "nx run web:build:production && nx run desktop:build:production && nx run desktop:make --makerOptionsPath=apps/desktop/src/app/options/maker-appx.options.json",
"start:with-args": "cd dist/executables/win-unpacked && \"Light Matter.exe\" \"C:\\Users\\Aleks\\Desktop\\hdr photos\\IMGP8056.jpg\"",
"postinstall": "electron-builder install-app-deps",
"nxe:build:frontend": "nx build web",
Expand Down