Compare commits

..
69 Commits
Author SHA1 Message Date
blumia 6038cf3fd1 chore(CI): bump dependencies version 2026-11-25 22:13:32 +08:00
yyc12345 962fbfccfa fix: fix bottom toolbar icon hidpi issue
- fix fatal issue that hidpi icon patch was not applied to bottom toolbar icon.
- add smooth transform for bottom toolbar icon display.
- use 64x64 icon instead of 32x32 to have better result on max-to-200% scale desktop.
2026-11-25 22:00:49 +08:00
yyc12345 558ea284c9 i18n: rename translation catalog base name to SCWPicture 2026-10-21 10:17:24 +08:00
yyc12345 9dcc220fda chore: use full app name in InnoSetup created registry 2026-10-21 10:06:44 +08:00
yyc12345 6db2b24fd8 chore: update application id in MSIX manifest 2026-10-21 10:05:32 +08:00
yyc12345 d9174c9655 doc: update app illustration in README 2026-10-20 15:57:07 +08:00
yyc12345 ceb240d01a build: raise minimum Qt version to 6.8 and drop pre-6.8 fallbacks 2026-10-19 21:30:00 +08:00
yyc12345 124c69bf8b build: add svg file type icon for vector, archaic, and icon formats 2026-10-19 20:45:42 +08:00
yyc12345 4ecddceb58 doc: add DEVNOTE.md developer notes 2026-10-19 20:25:33 +08:00
yyc12345 83096294cc chore: fix REUSE compliance with updated annotations 2026-10-17 08:51:00 +08:00
yyc12345 b681cf2042 fix: fix msix publisher and makeappx hash param for sign 2026-10-16 14:37:21 +08:00
yyc12345 74df91c06b build: strip priconfig packaging node before msix pri generation 2026-10-16 11:52:01 +08:00
yyc12345 8a4b97eb84 build: wire up msix logo assets and exe subdir in appx manifest 2026-10-16 10:40:41 +08:00
yyc12345 9cff649f58 i18n: fix some zh_CN translations for app UI 2026-10-14 09:29:56 +08:00
yyc12345 f295b4d9bb fix: move EnumComboBoxTransformer statics back into SettingsDialog ctor
As namespace-scope statics, their initialization evaluates
QCoreApplication::translate() during static initialization, before the
QTranslator is installed in main(), so the combo box options always kept
the untranslated source text. Function-local statics are initialized
lazily on first dialog construction, after translations are loaded.
2026-10-13 15:29:43 +08:00
yyc12345 2ff67b2f2a i18n: complete unfinished zh_CN translations for app UI 2026-10-13 14:36:44 +08:00
yyc12345 645a1ad71f doc: add app illustration in README 2026-10-13 14:20:02 +08:00
yyc12345 f6c12525ae fix: remove stray fragment after app version value in inno setup script 2026-10-13 13:36:57 +08:00
yyc12345 770cfd5af4 fix: drop unofficial inno setup languages instead of default fallback 2026-10-13 11:38:50 +08:00
yyc12345 57f8081841 build: remove vc redist install from inno setup packaging 2026-10-13 10:49:43 +08:00
yyc12345 a2e89f4a5a build: make inno setup version a cmake cache variable 2026-10-13 10:31:02 +08:00
yyc12345 b65bb359a9 build: specify inno setup 6 for metaglot inno rendering 2026-10-12 20:50:42 +08:00
yyc12345 8eb77d6348 fix: restrict inno setup base language files to official translations 2026-10-12 17:58:21 +08:00
yyc12345 8ff33f1bbb fix: include <objbase.h> before <exdisp.h> for MSVC
<exdisp.h> is not self-contained: its forward declarations use the
\interface\ macro, which is only defined in <combaseapi.h> via the
<objbase.h> include chain. Qt headers do not provide <windows.h>, so
including <exdisp.h> first caused C2146/C2371 parse errors on MSVC and
broke all IShellWindows usages. Include <objbase.h> as a prelude.
2026-10-12 16:49:56 +08:00
yyc12345 e7b6bdd7dd fix: add braces around switch-case blocks with initialized declarations
MSVC rejects declarations with initializers directly under a case label
(C2360/C2361: initialization skipped by case/default labels), while
GCC/Clang accept them. Wrap the declaring case bodies in braces.
2026-10-12 16:49:26 +08:00
yyc12345 f330a9f853 chore(ci): upload artifacts unzipped via upload-artifact v7 2026-10-12 16:16:50 +08:00
yyc12345 a7611ff419 fix: fix macos-only ambiguous overload issue 2026-10-12 16:06:14 +08:00
yyc12345 063eaf187e chore(CI): remove ubuntu-24-04-build in ci 2026-10-12 16:01:07 +08:00
yyc12345 da98bb1e74 chore(CI): fix fatal hash error of aqtinstall in windows workflow 2026-10-12 16:00:29 +08:00
yyc12345 ef77d01b01 build: parameterize inno setup script and rework windows packaging step 2026-10-12 13:06:34 +08:00
blumia 793f22ddfe chore(CI): bump action versions 2026-10-11 11:11:44 +08:00
yyc12345 8f8f9b0147 refactor: move macOS app icon into dist/macos-icons 2026-10-11 11:08:49 +08:00
yyc12345 a7d40df40a i18n: add missing metadata translations for app UI languages 2026-10-11 11:08:49 +08:00
yyc12345 5383fbf9b8 i18n: reword zh_CN application description 2026-10-11 11:08:47 +08:00
yyc12345 3ef9d4eb42 build: invoke metaglot directly instead of via uv tool run 2026-10-09 20:09:04 +08:00
yyc12345 a123b680ff fix: adapt inno setup rendering to metaglot language name conversion 2026-10-09 19:50:58 +08:00
yyc12345 2a49dea718 refactor: rename project name in assets 2026-09-29 15:29:38 +08:00
yyc12345 31f54e5444 doc: rename project name in doc and license 2026-09-29 15:23:52 +08:00
yyc12345 91c67eb4b6 refactor: rename project name in CI 2026-09-29 13:29:09 +08:00
yyc12345 4c87c8d9fc refactor: rename project name in app i18n 2026-09-29 13:17:31 +08:00
yyc12345 c6ab0eb0eb refactor: rename project name in distribution i18n 2026-09-29 11:52:14 +08:00
yyc12345 5600fc594f refactor: rename project name in distribution 2026-09-29 11:17:29 +08:00
yyc12345 8cc34ab998 refactor: use metaglot to take msix file i18n over
current msix workflow are still not working. all work of it are postponed to future.
2026-09-29 11:03:10 +08:00
yyc12345 6c7395ddca refactor: rename project name in source code 2026-09-28 14:50:07 +08:00
yyc12345 079224f591 refactor: rename project name in CMakeLists.txt 2026-09-28 14:38:57 +08:00
yyc12345 17de95be75 fix: fix slot connect fail log when running app
- fix slot connect fail log when running app
- fix potential memory leak
2026-09-28 10:40:14 +08:00
yyc12345 c92e473f39 feat: add full shortcut support 2026-09-28 10:17:16 +08:00
yyc12345 79304f734d doc: update README 2026-09-27 20:30:17 +08:00
yyc12345 3709572eb3 revert: remove funding infomations 2026-09-26 17:02:21 +08:00
9a71d30904 i18n: Translations update from Hosted Weblate
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Tech-Tac <ahmad.tech.tac@gmail.com>
Co-authored-by: VenusGirl <VenusGirl@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ar/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ko/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/tr/
Translation: pineapple-pictures/AppStream Metadata
Translation: pineapple-pictures/Application
2026-09-26 16:11:12 +08:00
blumia 7eb553a527 fix(i18n): add missing ar l10n config and resource 2026-09-26 16:07:03 +08:00
blumia 49da6b0c82 i18n: update ts files and translators.html 2026-09-26 16:03:49 +08:00
Hosted WeblateandTech-Tac a2c71144f7 i18n: Translations update from Hosted Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Tech-Tac <ahmad.tech.tac@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ar/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/ar/
Translation: pineapple-pictures/AppStream Metadata
Translation: pineapple-pictures/Application
2026-09-26 16:02:56 +08:00
Hosted WeblateandHeimen Stoffels c2631e3af6 i18n: Translations update from Hosted Weblate
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/
Translation: pineapple-pictures/Application
2026-09-26 15:58:53 +08:00
blumia b8ee6ca1ac i18n: update ts files
Related: https://github.com/BLumia/pineapple-pictures/issues/147
2026-09-26 15:58:16 +08:00
blumia 33361f16cb fix: REUSE lint for files under msix folder 2026-09-26 09:48:46 +08:00
blumia 1966bd93be chore(CI): add ubuntu 26.04 build 2026-09-26 09:47:01 +08:00
blumia ce601c33e3 feat: msix deployment support and add store link 2026-09-26 09:43:30 +08:00
yyc12345 0710f2c111 fix: fix windows CI no label error
- fix windows CI no label error
- add lost goto in windows CI
- uniform goto style
2026-09-25 17:27:05 +08:00
yyc12345 ac5318786d feat: introduce InnoSetup for windows package 2026-09-25 17:13:27 +08:00
yyc12345 11628678a3 refactor: use metaglot to take macos bundle i18n over
- use metaglot for macos bundle i18n
- set macos icon from PUBLIC to PRIVATE
- remove CFBundleLongVersionString from Info.plist
2026-09-24 16:05:20 +08:00
yyc12345 00b4eb58e2 chore: reduce the length of the error message in cmake 2026-09-22 17:15:49 +08:00
yyc12345 0d62a8fa06 chore: move windows icos resources location 2026-09-22 17:13:59 +08:00
yyc12345 e256472b70 fix: fix invalid install for UNIX app icon 2026-09-22 16:43:04 +08:00
yyc12345 1404a4ba54 refactor: use metaglot to take appstream file i18n over 2026-09-22 16:06:23 +08:00
yyc12345 2297609481 refactor: use metaglot to take desktop file i18n over 2026-09-22 15:29:09 +08:00
yyc12345 84821d4a94 refactor: use metaglot to enable i18n for Windows artifact 2026-09-22 13:53:16 +08:00
yyc12345 ccff9d32c9 refactor: move translation to independent directory 2026-09-10 09:58:53 +08:00
yyc12345 d36d048e07 feat: update icon and change the directory of htmls 2026-09-10 09:48:07 +08:00
242 changed files with 8585 additions and 443 deletions

No files matched your search

+4 -3
View File
@@ -18,7 +18,7 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.11.2'
version: '6.12.0'
modules: 'qtimageformats'
cache: true
- name: Install Conan and Dependencies
@@ -39,7 +39,8 @@ jobs:
run: |
macdeployqt ./scwpic.app -dmg
ls
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: "macos-bundle"
name: "scwpic-macos-latest"
path: "*.dmg"
archive: false
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v5
+3 -32
View File
@@ -3,36 +3,6 @@ name: Ubuntu CI
on: [push, pull_request, workflow_dispatch]
jobs:
ubuntu-24-04-build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install MetaGlot
run: uv tool install git+https://github.com/SarasasChipWorkshop/metaglot.git
- name: Get build dept.
run: |
sudo apt update
sudo apt install cmake qt6-base-dev qt6-svg-dev qt6-tools-dev libexiv2-dev
- name: Build it
run: |
mkdir build
cd build
cmake ../
make
cpack -G DEB
- name: Try install it
run: |
cd build
sudo apt install ./*.deb
- uses: actions/upload-artifact@v6
with:
name: ubuntu-24.04-deb-package
path: build/*.deb
ubuntu-26-04-build:
runs-on: ubuntu-26.04
steps:
@@ -58,7 +28,8 @@ jobs:
run: |
cd build
sudo apt install ./*.deb
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: ubuntu-26.04-deb-package
name: scwpic-ubuntu-26.04
path: build/*.deb
archive: false
+43 -17
View File
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
include:
- qt_ver: '6.11.2'
- qt_ver: '6.12.0'
vs: '2022'
aqt_arch: 'win64_msvc2022_64'
msvc_arch: 'x64'
@@ -31,7 +31,7 @@ jobs:
modules: 'qtimageformats'
cache: true
# we need this until miurahr/aqtinstall#1007 ships 3.3.1 for Qt >= 6.11.0 for Windows.
aqtsource: 'aqtinstall @ git+https://github.com/miurahr/aqtinstall@16db45a70b5905ad596941b223469bc86a56901a'
aqtsource: 'aqtinstall @ git+https://github.com/miurahr/aqtinstall@16db45a70b5905ad596941b223469bc86a56901e'
- name: Build
shell: cmd
run: |
@@ -45,9 +45,9 @@ jobs:
set CMAKE_PREFIX_PATH=%PWD%/dependencies_bin
mkdir dependencies_src
echo ::group::===== exiv2 =====
curl -fsSL -o exiv2_bin.zip https://github.com/Exiv2/exiv2/releases/download/v0.28.7/exiv2-0.28.7-2022msvc-AMD64.zip
curl -fsSL -o exiv2_bin.zip https://github.com/Exiv2/exiv2/releases/download/v0.28.9/exiv2-0.28.9-2022msvc-AMD64.zip
7z x exiv2_bin.zip -y
ren .\exiv2-0.28.7-2022msvc-AMD64 dependencies_bin
ren .\exiv2-0.28.9-2022msvc-AMD64 dependencies_bin
echo ::endgroup::
echo ::group::===== zlib =====
curl -fsSL -o zlib_src.zip https://github.com/madler/zlib/releases/download/v1.3.2/zlib132.zip
@@ -57,21 +57,21 @@ jobs:
cmake --build build_dependencies/zlib --config Release --target=install || goto :error
echo ::endgroup::
echo ::group::===== AOM for libavif AVI decoding support =====
git clone -q -b v3.13.1 --depth 1 https://aomedia.googlesource.com/aom dependencies_src/aom
git clone -q -b v3.15.3 --depth 1 https://aomedia.googlesource.com/aom dependencies_src/aom
cmake ./dependencies_src/aom -Bbuild_dependencies/aom -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON -DAOM_TARGET_CPU=generic -DENABLE_TESTS=OFF -DENABLE_TESTDATA=OFF -DENABLE_TOOLS=OFF -DENABLE_EXAMPLES=0 || goto :error
cmake --build build_dependencies/aom --config Release --target=install || goto :error
echo ::endgroup::
echo ::group::===== libavif =====
curl -fsSL -o libavif-v1_3_0.zip https://github.com/AOMediaCodec/libavif/archive/v1.3.0.zip
7z x libavif-v1_3_0.zip -y -o"dependencies_src"
ren .\dependencies_src\libavif-1.3.0 libavif || goto :error
curl -fsSL -o libavif_src.zip https://github.com/AOMediaCodec/libavif/archive/v1.4.2.zip
7z x libavif_src.zip -y -o"dependencies_src"
ren .\dependencies_src\libavif-1.4.2 libavif || goto :error
cmake ./dependencies_src/libavif -Bbuild_dependencies/libavif -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DAVIF_CODEC_AOM=SYSTEM -DAVIF_CODEC_AOM_DECODE=ON -DAVIF_CODEC_AOM_ENCODE=ON -DAVIF_LIBYUV=LOCAL || goto :error
cmake --build build_dependencies/libavif --config Release --target=install || goto :error
echo ::endgroup::
echo ::group::===== expat =====
curl -fsSL -o expat_src.zip https://github.com/libexpat/libexpat/archive/R_2_7_3.zip
curl -fsSL -o expat_src.zip https://github.com/libexpat/libexpat/archive/R_2_10_0.zip
7z x expat_src.zip -y -o"dependencies_src"
ren .\dependencies_src\libexpat-R_2_7_3 expat || goto :error
ren .\dependencies_src\libexpat-R_2_10_0 expat || goto :error
cmake ./dependencies_src/expat/expat -Bbuild_dependencies/expat -DCMAKE_INSTALL_PREFIX="dependencies_bin" || goto :error
cmake --build build_dependencies/expat --config Release --target=install || goto :error
echo ::endgroup::
@@ -91,8 +91,11 @@ jobs:
cmake --build build_dependencies/kimageformats --config Release --target=install || goto :error
echo ::endgroup::
:: ------ app ------
echo ::group::===== App (Build'n'Install) =====
cmake -Bbuild . || goto :error
echo ::group::===== App Build =====
:: YYC MARK: The GitHub runner preinstalls Inno Setup 6.7.1; align the metaglot
:: inno rendering with it via the Inno Setup version cache variable.
:: May remove or change it once GitHub updates its preinstalls to Inno Setup 7 series.
cmake -Bbuild . -DINNO_SETUP_VERSION=6 || goto :error
cmake --build build --config Release || goto :error
cmake --install build --config Release --prefix "%PWD%\build" || goto :error
echo ::endgroup::
@@ -101,14 +104,37 @@ jobs:
robocopy ./dependencies_bin/bin build/bin *.dll
if ErrorLevel 8 goto :error
copy LICENSE build\bin
copy build\inno-metadata\scwpic.iss build\bin\scwpic.iss
robocopy build\inno-metadata\Strings build\bin\Strings
mkdir pack
echo ::group::===== App InnoSetup Pack =====
mkdir pack\inno
iscc "/DPublishDir=%CD%\build\bin" "/DOutputDir=%CD%\pack\inno" build\inno-metadata\scwpic.iss || goto :error
echo ::endgroup::
echo ::group::===== App MSIX Pack =====
mkdir pack\msix\staging
robocopy build\msix-metadata pack\msix\staging AppxManifest.xml
if ErrorLevel 8 goto :error
iscc /Q build\bin\scwpic.iss || goto :error
robocopy build\msix-metadata\Strings pack\msix\staging\Strings /E
if ErrorLevel 8 goto :error
robocopy dist\winmsix-icons pack\msix\staging\Assets /E
if ErrorLevel 8 goto :error
robocopy build\bin pack\msix\staging\MyApp /E
if ErrorLevel 8 goto :error
MakePri.exe createconfig /cf pack\msix\priconfig.xml /dq en-US /o || goto :error
pwsh -NoProfile -ExecutionPolicy Bypass -File dist\strip-priconfig-packaging-node.ps1 -Path pack\msix\priconfig.xml -Verbose || goto :error
MakePri.exe new /pr pack\msix\staging /cf pack\msix\priconfig.xml /mn pack\msix\staging\AppxManifest.xml /of pack\msix\staging\resources.pri /o || goto :error
MakeAppx.exe pack /l /o /v /h SHA512 /d pack\msix\staging /p pack\msix\scwpic.msix || goto :error
echo ::endgroup::
exit /B 0
:error
exit /B 1
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake-setup"
path: build/bin/scwpic-setup.exe
path: pack/inno/scwpic-setup.exe
archive: false
- uses: actions/upload-artifact@v7
with:
name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake"
path: pack/msix/scwpic.msix
archive: false
+7 -5
View File
@@ -20,7 +20,7 @@ set (CMAKE_AUTOUIC ON)
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
set (QT_MINIMUM_VERSION "6.5")
set (QT_MINIMUM_VERSION "6.8")
find_package(Qt${QT_VERSION_MAJOR} ${QT_MINIMUM_VERSION} REQUIRED
COMPONENTS Widgets Svg SvgWidgets LinguistTools
@@ -238,9 +238,12 @@ if (WIN32)
)
# Setup Inno Setup script file
set (INNO_SETUP_VERSION "7" CACHE STRING "Major version of Inno Setup that packages the installer; decides which language files count as official in the metaglot inno rendering.")
set_property (CACHE INNO_SETUP_VERSION PROPERTY STRINGS 6 7)
set (SCWPIC_INNO_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/inno-metadata)
execute_process (
COMMAND ${METAGLOT_EXECUTABLE} render inno
--inno-version ${INNO_SETUP_VERSION}
--manifest ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.toml
--po ${CMAKE_SOURCE_DIR}/locales/inno/*.po
--iss-template ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.liquid
@@ -255,8 +258,7 @@ if (WIN32)
endif ()
configure_file (${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss.in ${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss @ONLY)
# Setup MSIX metadata. NOTE: the package cannot be built yet: the logo assets
# referenced by the manifest are not provided (marked with TODO comments).
# Setup MSIX metadata.
set (SCWPIC_MSIX_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/msix-metadata)
execute_process (
COMMAND ${METAGLOT_EXECUTABLE} render msix
@@ -275,10 +277,10 @@ if (WIN32)
configure_file (${SCWPIC_MSIX_OUTPUT_DIR}/AppxManifest.xml.in ${SCWPIC_MSIX_OUTPUT_DIR}/AppxManifest.xml @ONLY)
elseif (APPLE)
# Include icon to project
set_source_files_properties(dist/sarasacw-picture.icns PROPERTIES
set_source_files_properties(dist/macos-icons/sarasacw-picture.icns PROPERTIES
MACOSX_PACKAGE_LOCATION "Resources"
)
target_sources(${EXE_NAME} PRIVATE dist/sarasacw-picture.icns)
target_sources(${EXE_NAME} PRIVATE dist/macos-icons/sarasacw-picture.icns)
# Setup Info.plist related directory.
set (SCWPIC_PLIST_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/plist-metadata)
+162
View File
@@ -0,0 +1,162 @@
# Developer Notes
This document describes maintenance workflows and policies of this repository that are easy to get wrong or hard to discover from the source tree alone. It is intended for developers of this repository; see `README.md` for general instructions.
## Bumping the Version
The project version is maintained by hand in only one place, `CMakeLists.txt`. Modify its `project` statement at the top of the file when bumping the version.
Additionally, when releasing a new version of this application, please update all of the following items for a better user experience:
- `NEWS`: add a new section at the very top of the file, following the format of the existing entries.
- `dist/org.sarasaschipworkshop.picture.metainfo.xml.liquid`: add a new `<release>` element at the top of the `<releases>` section.
Finally, mark the release with a git tag named exactly `x.y.z` (no `v` prefix, strictly three numeric components).
## Maintaining Translator Credits
When adding a new translator for an existing language, or a new language, please edit `assets/htmls/special-thanks.html` by hand to show the corresponding credits in the application interface.
If you have added a language for the application, please make sure to also add it for all distribution translations. The available languages of the distribution translations should be kept synchronized with the application translations.
## Qt Version Support Policy
### Policy for CI
- The Qt version installed by the Windows and macOS workflows is pinned to the one used by the hard fork upstream ([Pineapple Pictures](https://github.com/BLumia/pineapple-pictures)).
- The Ubuntu workflow always uses the Qt provided by the package manager of the latest Ubuntu LTS version.
### Policy for the Project
The minimum Qt version that the project itself declares follows the formula `min(A, B)`, where `A` is the lowest Qt version used by any CI workflow and `B` is the Qt version shipped by the latest Debian stable release.
## File Type Associations
The image formats supported by this application are varied. Considering the workload of creating icons, we cannot assign each of them a dedicated icon, so it is inevitable that multiple file extensions share a single icon. We list this relation by packaging channel for developers, and at the same time you can also see the file extensions that each packaging channel wants to associate.
The assignment follows a categorization:
- Photographic and high dynamic range formats use the `jpg` icon.
- Formats that can carry transparency use the `png` icon.
- Bitmap artwork produced by graphics editors uses the `bmp` icon.
- Formats that contain animation use the `gif` icon.
- Vector formats, archaic formats, and icon formats use the `svg` icon.
### MSIX Package
| Cluster Name | Icon | File Extensions |
| --- | --- | --- |
| JPEG | `jpg` | `.jpg`, `.jpeg`, `.jfif` |
| GIF | `gif` | `.gif` |
| PNG | `png` | `.png`, `.apng` |
| SVG | `svg` | `.svg` |
| WebP | `png` | `.webp` |
| AVIF | `png` | `.avif` |
| ICO | `svg` | `.ico` |
| ICNS | `svg` | `.icns` |
| PSD | `bmp` | `.psd`, `.psb`, `.pdd`, `.psdt` |
| KRA | `bmp` | `.kra` |
| XCF | `bmp` | `.xcf` |
| TARGA | `svg` | `.tga` |
| TIFF | `jpg` | `.tif`, `.tiff` |
| BMP | `bmp` | `.bmp` |
| WBMP | `bmp` | `.wbmp` |
| DDS | `bmp` | `.dds` |
| HDR | `jpg` | `.hdr`, `.exr` |
| IFF | `svg` | `.iff` |
| PIC | `svg` | `.pic` |
| PCX | `svg` | `.pcx` |
| QOI | `png` | `.qoi` |
| Sun Raster | `svg` | `.ras`, `.sun` |
| ORA | `bmp` | `.ora` |
| ANI | `gif` | `.ani` |
| PFM | `jpg` | `.pfm`, `.phm` |
| SGI | `svg` | `.bw`, `.rgb`, `.rgba`, `.sgi` |
| PXR | `svg` | `.pxr` |
| SCT | `svg` | `.sct` |
### Inno Setup Installer
| Cluster Name | Icon | File Extensions |
| --- | --- | --- |
| JPEG | `jpg` | `.jpg`, `.jpeg`, `.jfif` |
| GIF | `gif` | `.gif` |
| PNG | `png` | `.png`, `.apng` |
| SVG | `svg` | `.svg` |
| WebP | `png` | `.webp` |
| AVIF | `png` | `.avif` |
| ICO | `svg` | `.ico` |
| ICNS | `svg` | `.icns` |
| PSD | `bmp` | `.psd`, `.psb`, `.pdd`, `.psdt` |
| KRA | `bmp` | `.kra` |
| XCF | `bmp` | `.xcf` |
| TARGA | `svg` | `.tga` |
| TIFF | `jpg` | `.tif`, `.tiff` |
| BMP | `bmp` | `.bmp` |
| WBMP | `bmp` | `.wbmp` |
| DDS | `bmp` | `.dds` |
| HDR | `jpg` | `.hdr`, `.exr` |
| IFF | `svg` | `.iff` |
| PIC | `svg` | `.pic` |
| PCX | `svg` | `.pcx` |
| QOI | `png` | `.qoi` |
| Sun Raster | `svg` | `.ras`, `.sun` |
| ORA | `bmp` | `.ora` |
| ANI | `gif` | `.ani` |
| PFM | `jpg` | `.pfm`, `.phm` |
| SGI | `svg` | `.bw`, `.rgb`, `.rgba`, `.sgi` |
| PXR | `svg` | `.pxr` |
| SCT | `svg` | `.sct` |
### FreeDesktop Desktop Entry
| Cluster Name | Mimetypes |
| --- | --- |
| JPEG | `image/jpeg`, `image/jpg`, `image/jpe`, `image/jpeg24` |
| PNG | `image/png` |
| GIF | `image/gif` |
| SVG | `image/svg`, `image/svg+xml` |
| BMP | `image/bmp`, `image/bmp24` |
| TIFF | `image/tif`, `image/tiff`, `image/tiff24`, `image/ptif` |
| DDS | `image/dds` |
| PCX | `image/pcx` |
| SGI | `image/sgi` |
| JNG | `image/jng` |
| JPEG 2000 | `image/j2k`, `image/jp2` |
| PICT | `image/pct` |
| HD Photo | `image/wdp` |
| camera raw | `image/arw`, `image/dng`, `image/mef` |
| Targa variants | `image/icb`, `image/vda`, `image/vst` |
| XBM | `image/xbm` |
| PhotoCD | `image/pcd` |
### macOS Application Bundle
| Cluster Name | Mimetypes | File Extensions |
| --- | --- | --- |
| JPEG | `image/jpeg` | `.jpg`, `.jpeg`, `.jfif` |
| PNG | `image/png` | `.png` |
| WebP | `image/webp` | `.webp` |
| GIF | `image/gif` | `.gif` |
| SVG | `image/svg+xml` | `.svg` |
## Adding a New File Type
A new file type must be added to every channel listed above in the same change. Specifically, you should:
- Update the tables in this document accordingly.
- Windows RC File
* Define the display name under the next numeric string key in `dist/sarasacw-picture.rc.in.toml`.
* Extend the string table ID range in `dist/sarasacw-picture.rc.in.liquid` to cover the newly added string resource.
- MSIX Package
* Define the display name in `dist/AppxManifest.xml.in.toml`.
* Add a `uap:FileTypeAssociation` element to `dist/AppxManifest.xml.in.liquid` with the extensions, the display name reference, and the logo reference.
- Inno Setup Installer
* Edit the `[Registry]` section of `dist/scwpic.iss.in.liquid`.
- Copy an existing file family block, adjust the ProgId, the referenced string and icon resources, and the extension list.
- Add the new extensions to the `SupportedTypes` registry key.
- FreeDesktop Desktop Entry
* Append the mimetype to the `MimeType=` key of `dist/org.sarasaschipworkshop.picture.desktop.liquid` (the type name and icon are resolved by the desktop environment, so nothing else is needed).
- macOS Application Bundle
* Add a `CFBundleDocumentTypes` entry to `dist/Info.plist.in.liquid` with the extensions, the display name, and the mimetypes.
* Update `dist/Info.plist.in.toml` and `dist/InfoPlist.strings.liquid` for the display name translation.
+396
View File
@@ -0,0 +1,396 @@
Attribution 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as a contract, You are
granted the Licensed Rights in consideration of Your acceptance of
these terms and conditions, and the Licensor grants You such rights in
consideration of benefits the Licensor receives from making the
Licensed Material available under these terms and conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
d. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
g. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
i. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's
License You apply must not prevent recipients of the Adapted
Material from complying with this Public License.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.
+1 -4
View File
@@ -9,10 +9,7 @@ Yet another legacy Windows Photo Viewer with cross-platform support.
[![](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml/badge.svg)](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
[![](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
<!--
TODO: Add main window illustration in future.
![SCW Photo Viewer - Main Window](https://repository-images.githubusercontent.com/211888654/e8697600-e370-11eb-9b2a-b71e05262954)
-->
![SCW Photo Viewer - Main Window](https://github.com/user-attachments/assets/a58ac355-24e5-4262-9eea-c55956d89689)
## Summary
+2 -5
View File
@@ -3,16 +3,13 @@
> [!IMPORTANT]
> SCW 照片查看器还在重构中。在这条信息被移除之前请不要使用它。
简单轻量的、具有跨平台支持的、经典样式的 Windows 照片查看器。
跨平台的、经典 Windows 照片查看器样式的照片查看器。
[![](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/windows.yml/badge.svg)](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/windows.yml)
[![](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml/badge.svg)](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
[![](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
<!--
TODO: Add main window illustration in future.
![SCW 照片查看器 - 主窗口](https://repository-images.githubusercontent.com/211888654/e8697600-e370-11eb-9b2a-b71e05262954)
-->
![SCW 照片查看器 - 主窗口](https://github.com/user-attachments/assets/a58ac355-24e5-4262-9eea-c55956d89689)
## 简介
+41 -29
View File
@@ -1,45 +1,57 @@
version = 1
SPDX-PackageName = "Pineapple Pictures"
SPDX-PackageDownloadLocation = "https://github.com/BLumia/pineapple-pictures"
SPDX-PackageName = "sarasacw-picture"
SPDX-PackageDownloadLocation = "https://github.com/SarasasChipWorkshop/sarasacw-picture.git"
[[annotations]]
path = [".gitattributes", ".git-blame-ignore-revs", ".gitignore", "appveyor.yml", ".github/**"]
path = [".gitattributes", ".git-blame-ignore-revs", ".gitignore", ".github/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "None"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["README**.md", "NEWS", "assets/**.rc.in", "assets/**.qrc", "dist/appstream/**", "dist/**.in", "dist/**.desktop", "dist/**.rc.in.toml", "dist/**.rc.in.liquid"]
path = ["README**.md", "DEVNOTE.md", "NEWS", "assets/**.qrc"]
precedence = "aggregate"
SPDX-FileCopyrightText = "None"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["locales/app/**.ts", "locales/winrc/**", "assets/plain/translators.html"]
path = ["LICENSE"]
precedence = "aggregate"
SPDX-FileCopyrightText = ["2026 BLumia", "2026 Sarasa's Chip Workshop"]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = ["app/**.ui"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = ["assets/htmls/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = ["2026 Gary Wang", "2026 Sarasa's Chip Workshop"]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = ["assets/icons/**.png"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
SPDX-License-Identifier = "CC-BY-4.0"
[[annotations]]
path = ["dist/**.liquid", "dist/**.toml", "dist/**.ps1"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = ["dist/**.png", "dist/**.ico", "dist/**.icns"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
SPDX-License-Identifier = "CC-BY-4.0"
[[annotations]]
path = ["locales/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Translators from hosted.weblate.org"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = ["dist/msix/**.svg", "dist/msix/**.toml"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 Gary Wang"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = ["app/translations/**.ts", "assets/plain/translators.html"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 yyc12345"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "assets/icons/**.svg"
precedence = "aggregate"
SPDX-FileCopyrightText = "2022 Gary Wang"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "assets/icons/app-icon.**"
precedence = "aggregate"
SPDX-FileCopyrightText = "2020 Lovelyblack"
SPDX-License-Identifier = "MIT"
+1 -1
View File
@@ -17,7 +17,7 @@
static QIcon loadHidpiIcon(const QString &resp, QSize sz = QSize(32, 32))
{
QPixmap pm = QPixmap(resp);
pm.scaled(sz * qApp->devicePixelRatio(), Qt::KeepAspectRatio);
pm = pm.scaled(sz * qApp->devicePixelRatio(), Qt::KeepAspectRatio, Qt::SmoothTransformation);
pm.setDevicePixelRatio(qApp->devicePixelRatio());
return QIcon(pm);
}
+5 -10
View File
@@ -21,29 +21,26 @@
static const QColor& ColorSchemaToTextForeground(Qt::ColorScheme colorScheme) {
// YYC MARK:
// If we are using Windows 10 and lower system or Qt which do not support "Windows 11"
// theme (lower than Qt 6.7), we should only support light mode.
// If we are using Windows 10 and lower system, we should only support light mode.
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
#if defined(Q_OS_WIN)
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
colorScheme = Qt::ColorScheme::Light;
#else
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
colorScheme = Qt::ColorScheme::Light;
}
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
#endif // defined(Q_OS_WIN)
switch (colorScheme) {
case Qt::ColorScheme::Dark:
case Qt::ColorScheme::Dark: {
static QColor WHITE = QColor("White");
return WHITE;
}
case Qt::ColorScheme::Light:
case Qt::ColorScheme::Unknown:
default:
default: {
static QColor BLACK = QColor("Black");
return BLACK;
}
}
}
class PGraphicsPixmapItem : public QGraphicsPixmapItem
@@ -162,11 +159,9 @@ void GraphicsScene::showSvg(const QString &filepath)
this->clear();
QGraphicsSvgItem * svgItem = new QGraphicsSvgItem();
QSvgRenderer * render = new QSvgRenderer(svgItem);
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
if (Settings::instance()->svgTiny12Only()) {
render->setOptions(QtSvg::Tiny12FeaturesOnly);
}
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
render->load(filepath);
svgItem->setSharedRenderer(render);
this->addItem(svgItem);
+1 -16
View File
@@ -57,7 +57,6 @@ void GraphicsView::showFileFromPath(const QString &filePath)
} else if (!imageReader.canRead()) {
showText(tr("Image data is invalid or currently unsupported"));
} else {
#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
QImage && img = imageReader.read();
if (img.isNull()) {
showText(tr("Image data is invalid or currently unsupported"));
@@ -68,15 +67,6 @@ void GraphicsView::showFileFromPath(const QString &filePath)
img.setDevicePixelRatio(devicePixelRatioF());
showImage(img);
}
#else
QPixmap && pixmap = QPixmap::fromImageReader(&imageReader);
if (pixmap.isNull()) {
showText(tr("Image data is invalid or currently unsupported"));
} else {
pixmap.setDevicePixelRatio(devicePixelRatioF());
showImage(pixmap);
}
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
}
}
}
@@ -366,17 +356,12 @@ QTransform GraphicsView::resetScale(const QTransform & orig)
void GraphicsView::updateStyle(Qt::ColorScheme colorScheme) {
// YYC MARK:
// If we are using Windows 10 and lower system or Qt which do not support "Windows 11"
// theme (lower than Qt 6.7), we should only support light mode.
// If we are using Windows 10 and lower system, we should only support light mode.
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
#if defined(Q_OS_WIN)
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
colorScheme = Qt::ColorScheme::Light;
#else
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
colorScheme = Qt::ColorScheme::Light;
}
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
#endif // defined(Q_OS_WIN)
switch (colorScheme) {
+6 -2
View File
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
#else
const QString qmDir = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath("translations");
#endif
if (translator.load(QLocale(), u"SarasaCWPicture"_s, u"_"_s, qmDir)) {
if (translator.load(QLocale(), u"SCWPicture"_s, u"_"_s, qmDir)) {
QCoreApplication::installTranslator(&translator);
}
@@ -78,7 +78,11 @@ int main(int argc, char *argv[])
// Handle dock icon clicks to show hidden window
a.connect(&a, &QApplication::applicationStateChanged, [&w](Qt::ApplicationState state) {
if (state == Qt::ApplicationActive && w.isHidden()) {
w.showFiles({});
// YYC MARK:
// We can't use `{}` because there is an ambiguity between 2 overloads:
// `void showFiles(const QStringList& files);` and `void showFiles(const QList<QUrl>& urls);`.
QStringList emptyFileList;
w.showFiles(emptyFileList);
w.galleryCurrent(false);
w.showNormal();
w.raise();
+1 -5
View File
@@ -257,11 +257,7 @@ void MainWindow::galleryCurrent(bool fromFileWatcher)
QStringList MainWindow::supportedImageFormats()
{
QStringList formatFilters {
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
QStringLiteral("*.jfif")
#endif // QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
};
QStringList formatFilters;
for (const QByteArray &item : QImageReader::supportedImageFormats()) {
formatFilters.append(QStringLiteral("*.") % QString::fromLocal8Bit(item));
}
+1 -6
View File
@@ -43,17 +43,12 @@ void NavigatorView::updateMainViewportRegion()
void NavigatorView::updateStyle(Qt::ColorScheme colorScheme) {
// YYC MARK:
// If we are using Windows 10 and lower system or Qt which do not support "Windows 11"
// theme (lower than Qt 6.7), we should only support light mode.
// If we are using Windows 10 and lower system, we should only support light mode.
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
#if defined(Q_OS_WIN)
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
colorScheme = Qt::ColorScheme::Light;
#else
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
colorScheme = Qt::ColorScheme::Light;
}
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
#endif // defined(Q_OS_WIN)
switch (colorScheme) {
+9
View File
@@ -13,6 +13,15 @@
#include <optional>
// YYC MARK:
// <exdisp.h> is not self-contained: it only includes <rpc.h>/<rpcndr.h> before
// emitting `typedef interface ...` forward declarations, while the `interface`
// macro (defined as `struct` for C++) lives in <combaseapi.h>, which is pulled
// in via the <objbase.h> chain. Without this prelude, MSVC fails to parse those
// forward declarations (C2146/C2371) and every IShellWindows usage breaks.
// (Qt headers do not include <windows.h>, so nothing else provides it here.)
#include <objbase.h>
#include <exdisp.h> // IShellWindows, CLSID_ShellWindows
#include <servprov.h> // IServiceProvider
#include <shlguid.h> // SID_STopLevelBrowser
+32 -35
View File
@@ -49,35 +49,40 @@ private:
Pairs pairs;
};
static EnumComboBoxTransformer<Settings::MouseWheelBehavior, QString> MW_OPTIONS {
{
{ Settings::MouseWheelBehavior::Zoom, QCoreApplication::translate("SettingsDialog", "Zoom in and out") },
{ Settings::MouseWheelBehavior::Switch, QCoreApplication::translate("SettingsDialog", "View next or previous item") }
}
};
static EnumComboBoxTransformer<Settings::WindowSizeBehavior, QString> IWS_OPTIONS {
{
{ Settings::WindowSizeBehavior::Maximized, QCoreApplication::translate("SettingsDialog", "Maximized") },
{ Settings::WindowSizeBehavior::Windowed, QCoreApplication::translate("SettingsDialog", "Windowed") }
}
};
static EnumComboBoxTransformer<Qt::HighDpiScaleFactorRoundingPolicy, QString> HIDPI_OPTIONS {
{
{ Qt::HighDpiScaleFactorRoundingPolicy::Round, QCoreApplication::translate("SettingsDialog", "Round (Integer scaling)", "This option means round up for .5 and above") },
{ Qt::HighDpiScaleFactorRoundingPolicy::Ceil, QCoreApplication::translate("SettingsDialog", "Ceil (Integer scaling)", "This option means always round up") },
{ Qt::HighDpiScaleFactorRoundingPolicy::Floor, QCoreApplication::translate("SettingsDialog", "Floor (Integer scaling)", "This option means always round down") },
{ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough, QCoreApplication::translate("SettingsDialog", "Follow system (Fractional scaling)", "This option means don't round") }
}
};
SettingsDialog::SettingsDialog(QWidget *parent)
: QDialog(parent), ui(new QT_PREPEND_NAMESPACE(Ui::SettingsDialog))
{
ui->setupUi(this);
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
// YYC MARK:
// These transformers must stay as function-local statics: their initialization
// evaluates QCoreApplication::translate(), which returns translated text only
// after the QTranslator is installed in main(). Namespace-scope statics would
// be initialized before that and always keep the untranslated source text.
static EnumComboBoxTransformer<Settings::MouseWheelBehavior, QString> MW_OPTIONS {
{
{ Settings::MouseWheelBehavior::Zoom, QCoreApplication::translate("SettingsDialog", "Zoom in and out") },
{ Settings::MouseWheelBehavior::Switch, QCoreApplication::translate("SettingsDialog", "View next or previous item") }
}
};
static EnumComboBoxTransformer<Settings::WindowSizeBehavior, QString> IWS_OPTIONS {
{
{ Settings::WindowSizeBehavior::Maximized, QCoreApplication::translate("SettingsDialog", "Maximized") },
{ Settings::WindowSizeBehavior::Windowed, QCoreApplication::translate("SettingsDialog", "Windowed") }
}
};
static EnumComboBoxTransformer<Qt::HighDpiScaleFactorRoundingPolicy, QString> HIDPI_OPTIONS {
{
{ Qt::HighDpiScaleFactorRoundingPolicy::Round, QCoreApplication::translate("SettingsDialog", "Round (Integer scaling)", "This option means round up for .5 and above") },
{ Qt::HighDpiScaleFactorRoundingPolicy::Ceil, QCoreApplication::translate("SettingsDialog", "Ceil (Integer scaling)", "This option means always round up") },
{ Qt::HighDpiScaleFactorRoundingPolicy::Floor, QCoreApplication::translate("SettingsDialog", "Floor (Integer scaling)", "This option means always round down") },
{ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough, QCoreApplication::translate("SettingsDialog", "Follow system (Fractional scaling)", "This option means don't round") }
}
};
auto* settings = Settings::instance();
ui->m_showNavigatorView->setChecked(Settings::instance()->showNavigatorView());
ui->m_useLightCheckerboard->setChecked(settings->useLightCheckerboard());
@@ -93,27 +98,19 @@ SettingsDialog::SettingsDialog(QWidget *parent)
Qt::HighDpiScaleFactorRoundingPolicy hidpi = settings->hiDpiScaleFactorBehavior();
ui->m_hiDpiRoundingPolicyBehavior->setCurrentIndex(HIDPI_OPTIONS.to_index(hidpi));
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
# define QCHECKBOX_CHECKSTATECHANGED QCheckBox::checkStateChanged
# define QT_CHECKSTATE Qt::CheckState
#else
# define QCHECKBOX_CHECKSTATECHANGED QCheckBox::stateChanged
# define QT_CHECKSTATE int
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
connect(ui->m_showNavigatorView, &QCHECKBOX_CHECKSTATECHANGED, this, [ = ](QT_CHECKSTATE state){
connect(ui->m_showNavigatorView, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
Settings::instance()->setShowNavigatorView(state == Qt::Checked);
});
connect(ui->m_useLightCheckerboard, &QCHECKBOX_CHECKSTATECHANGED, this, [ = ](QT_CHECKSTATE state){
connect(ui->m_useLightCheckerboard, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
Settings::instance()->setUseLightCheckerboard(state == Qt::Checked);
});
connect(ui->m_loopGallery, &QCHECKBOX_CHECKSTATECHANGED, this, [ = ](QT_CHECKSTATE state){
connect(ui->m_loopGallery, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
Settings::instance()->setLoopGallery(state == Qt::Checked);
});
connect(ui->m_svgTiny12Only, &QCHECKBOX_CHECKSTATECHANGED, this, [ = ](QT_CHECKSTATE state){
connect(ui->m_svgTiny12Only, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
Settings::instance()->setSvgTiny12Only(state == Qt::Checked);
});
Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

+16 -46
View File
@@ -5,13 +5,12 @@
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">
<Identity Name="SarasasChipWorkshop.Picture" Publisher="CN=Unsigned, OID.2.25.311729368913984317654407730594956997722=1" Version="@PROJECT_VERSION@.0" />
<Identity Name="SarasasChipWorkshop.Picture" Publisher="CN=Sarasa's Chip Workshop, O=Sarasa's Chip Workshop, C=CN" Version="@PROJECT_VERSION@.0" />
<Properties>
<DisplayName>ms-resource:AppDisplayName</DisplayName>
<PublisherDisplayName>ms-resource:PublisherDisplayName</PublisherDisplayName>
<!-- TODO: the store logo asset is not provided yet; the path below assumes it exists. -->
<Logo>Assets\Square44x44Logo.png</Logo>
<Logo>Assets\SarasasChipWorkshop.Picture.StoreLogo.png</Logo>
</Properties>
<Resources>
@@ -29,19 +28,17 @@
</Capabilities>
<Applications>
<Application Id="SarasaCWPicture" Executable="scwpic.exe" EntryPoint="Windows.FullTrustApplication">
<!-- TODO: the app logo assets are not provided yet; the Square44x44Logo and Square150x150Logo paths below assume they exist. -->
<Application Id="SarasasChipWorkshop.Picture" Executable="MyApp\scwpic.exe" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements
DisplayName="ms-resource:AppDisplayName"
Description="ms-resource:AppDescription"
BackgroundColor="transparent"
Square44x44Logo="Assets\Square44x44Logo.png"
Square150x150Logo="Assets\Square150x150Logo.png" />
Square44x44Logo="Assets\SarasasChipWorkshop.Picture.Square44x44Logo.png"
Square150x150Logo="Assets\SarasasChipWorkshop.Picture.Square150x150Logo.png" />
<Extensions>
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="jpegimages">
<uap:DisplayName>ms-resource:FileTypeJpegDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.jfif</uap:FileType>
@@ -53,7 +50,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="gifimages">
<uap:DisplayName>ms-resource:FileTypeGifDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\gif.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.gif</uap:FileType>
@@ -63,7 +59,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="pngimages">
<uap:DisplayName>ms-resource:FileTypePngDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.apng</uap:FileType>
@@ -74,8 +69,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="svgimages">
<uap:DisplayName>ms-resource:FileTypeSvgDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.svg</uap:FileType>
</uap:SupportedFileTypes>
@@ -84,7 +78,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="webpimages">
<uap:DisplayName>ms-resource:FileTypeWebpDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.webp</uap:FileType>
@@ -94,7 +87,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="avifimages">
<uap:DisplayName>ms-resource:FileTypeAvifDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.avif</uap:FileType>
@@ -104,8 +96,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="icoimages">
<uap:DisplayName>ms-resource:FileTypeIcoDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.ico</uap:FileType>
</uap:SupportedFileTypes>
@@ -114,8 +105,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="icnsimages">
<uap:DisplayName>ms-resource:FileTypeIcnsDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.icns</uap:FileType>
</uap:SupportedFileTypes>
@@ -124,7 +114,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="psdimages">
<uap:DisplayName>ms-resource:FileTypePsdDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.pdd</uap:FileType>
@@ -137,7 +126,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="kraimages">
<uap:DisplayName>ms-resource:FileTypeKraDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.kra</uap:FileType>
@@ -147,7 +135,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="xcfimages">
<uap:DisplayName>ms-resource:FileTypeXcfDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.xcf</uap:FileType>
@@ -157,8 +144,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="tgaimages">
<uap:DisplayName>ms-resource:FileTypeTgaDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.tga</uap:FileType>
</uap:SupportedFileTypes>
@@ -167,7 +153,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="tifimages">
<uap:DisplayName>ms-resource:FileTypeTifDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.tif</uap:FileType>
@@ -178,7 +163,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="bmpimages">
<uap:DisplayName>ms-resource:FileTypeBmpDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.bmp</uap:FileType>
@@ -188,7 +172,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="wbmpimages">
<uap:DisplayName>ms-resource:FileTypeWbmpDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.wbmp</uap:FileType>
@@ -198,7 +181,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="ddsimages">
<uap:DisplayName>ms-resource:FileTypeDdsDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.dds</uap:FileType>
@@ -208,7 +190,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="hdrimages">
<uap:DisplayName>ms-resource:FileTypeHdrDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.exr</uap:FileType>
@@ -219,8 +200,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="iffimages">
<uap:DisplayName>ms-resource:FileTypeIffDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.iff</uap:FileType>
</uap:SupportedFileTypes>
@@ -229,8 +209,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="picimages">
<uap:DisplayName>ms-resource:FileTypePicDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.pic</uap:FileType>
</uap:SupportedFileTypes>
@@ -239,8 +218,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="pcximages">
<uap:DisplayName>ms-resource:FileTypePcxDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.pcx</uap:FileType>
</uap:SupportedFileTypes>
@@ -249,7 +227,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="qoiimages">
<uap:DisplayName>ms-resource:FileTypeQoiDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.qoi</uap:FileType>
@@ -259,8 +236,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="rasimages">
<uap:DisplayName>ms-resource:FileTypeRasDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.ras</uap:FileType>
<uap:FileType>.sun</uap:FileType>
@@ -270,7 +246,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="oraimages">
<uap:DisplayName>ms-resource:FileTypeOraDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.ora</uap:FileType>
@@ -280,7 +255,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="aniimages">
<uap:DisplayName>ms-resource:FileTypeAniDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\gif.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.ani</uap:FileType>
@@ -290,7 +264,6 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="pfmimages">
<uap:DisplayName>ms-resource:FileTypePfmDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.pfm</uap:FileType>
@@ -301,8 +274,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="rgbimages">
<uap:DisplayName>ms-resource:FileTypeRgbDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.bw</uap:FileType>
<uap:FileType>.rgb</uap:FileType>
@@ -314,8 +286,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="pxrimages">
<uap:DisplayName>ms-resource:FileTypePxrDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.pxr</uap:FileType>
</uap:SupportedFileTypes>
@@ -324,8 +295,7 @@
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="sctimages">
<uap:DisplayName>ms-resource:FileTypeSctDisplayName</uap:DisplayName>
<!-- TODO: the file association logo asset is not provided yet; the path below assumes it exists. -->
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
<uap:SupportedFileTypes>
<uap:FileType>.sct</uap:FileType>
</uap:SupportedFileTypes>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 787 B

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -12,6 +12,7 @@
103 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/gif.ico" // gif
104 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/jpg.ico" // jpg
105 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/png.ico" // png
106 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/svg.ico" // svg
// ---------------------------------------------------------------------------
// String tables (file type descriptions, referenced as "@<exe path>,-<id>")
-1
View File
@@ -2,4 +2,3 @@
MyAppName={{ strings.MyAppName | inno_escape }}
MyOther={{ strings.MyOther | inno_escape }}
MyAssociateWithFiles={{ strings.MyAssociateWithFiles | inno_escape }}
MyInstallVcRedist={{ strings.MyInstallVcRedist | inno_escape }}
+207 -188
View File
@@ -1,4 +1,14 @@
; Script for generating the SCW Photo Viewer installer.
; Inno Setup script for the Windows installer of SCW Photo Viewer.
;
; ISCC.exe /DPublishDir=<publish-dir> /DOutputDir=<dist-dir> path\to\this.iss
;
#ifndef PublishDir
#error PublishDir must be specified when running this script. It specifies the directory from which Inno Setup retrieves the artifacts to be packaged.
#endif
#ifndef OutputDir
#error OutputDir must be specified when running this script. It specifies the directory in which Inno Setup writes the generated setup package.
#endif
#define MyAppName "SCW Photo Viewer"
#define MyAppVersion "@PROJECT_VERSION@"
@@ -15,7 +25,7 @@ because it would otherwise open a Liquid output tag.
{% endcomment %}
AppId={% raw %}{{A90F12B1-1BD5-4816-994B-A3E95CCFF24E}{% endraw %}
AppName={cm:MyAppName}
AppVersion={#MyAppVersion} ;{#MyAppName} {#MyAppVersion}
AppVersion={#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
@@ -38,11 +48,11 @@ ArchitecturesInstallIn64BitMode=x64compatible
ChangesAssociations=yes
DefaultGroupName={cm:MyAppName}
AllowNoIcons=yes
LicenseFile=LICENSE
LicenseFile={#PublishDir}\LICENSE
; Uncomment the following line to run in non administrative install mode (install for current user only).
;PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=.
OutputDir={#OutputDir}
OutputBaseFilename=scwpic-setup
SolidCompression=yes
WizardStyle=modern
@@ -52,23 +62,33 @@ WizardStyle=modern
YYC MARK:
The base messages file pairing (the official full translation that provides
the language identity) is derived from MetaGlot's best-effort conversion of
the PO language tag to the conventional Inno Setup language name (lang.lang).
The English source language maps to "Default" and languages unknown to
MetaGlot convert to nothing; both fall back to "compiler:Default.isl" and
inherit the English language identity, so pair such a language with its base
file explicitly (e.g. via a "case" on "lang.name") when adding one. The
incremental custom messages file is named after the conventional name (or
the PO language tag when no conventional name exists); keep it in sync with
the "--isl-path" argument in CMakeLists.txt.
the PO language tag to the conventional Inno Setup language name (lang.lang)
and its officiality (lang.is_official). A language without an official base
file - a community provided conventional name, or a language unknown to
MetaGlot which converts to nothing - is dropped instead of falling back:
every [Languages] entry inherits the language identity of its base file, and
"compiler:Default.isl" carries the English identity, so a fallback entry
would flood the setup language selection dialog with duplicate English
items. To keep such a language, ship its base messages file with the
installer and pair it explicitly (e.g. via a "case" on "lang.name"). The
incremental custom messages file is named after the conventional name; keep
it in sync with the "--isl-path" argument in CMakeLists.txt. The path
rendering loop is independent of the dropping decision, so a dropped
language still gets an (unreferenced) messages file written.
{% endcomment -%}
{% for lang in langs -%}
{%- if lang.lang and lang.lang != 'Default' -%}
{% assign base = 'compiler:Languages\' | append: lang.lang | append: '.isl' -%}
{%- else -%}
{%- if lang.is_official -%}
{%- if lang.lang == 'Default' -%}
{% assign base = 'compiler:Default.isl' -%}
{%- else -%}
{% assign base = 'compiler:Languages\' | append: lang.lang | append: '.isl' -%}
{%- endif -%}
{% assign incremental = lang.lang | default: lang.name -%}
Name: "{{ lang.name }}"; MessagesFile: "{{ base }},Strings\{{ incremental }}.isl"
Name: "{{ lang.name }}"; MessagesFile: "{{ base }},Strings\{{ lang.lang }}.isl"
{% else -%}
{%- comment -%}
unofficial or unmapped: dropped, since a Default.isl fallback would duplicate the English identity in the Select Language dialog
{%- endcomment -%}
{% endif -%}
{% endfor -%}
[Tasks]
@@ -77,11 +97,11 @@ Name: "associatewithfiles"; Description: "{cm:MyAssociateWithFiles,{#MyAppName}}
[Files]
; YYC MARK:
; This file MUST be placed with "scwpic.exe" before compiling this script.
; Otherwise exception will be thrown.
Source: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "*"; Excludes: "vc_redist.x64.exe,scwpic-setup.exe,scwpic.iss,Strings"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
; This script is compiled in place and retrieves the artifacts to be packaged
; from the directory given by the "PublishDir" define, which must contain
; "scwpic.exe" and the "LICENSE" file. Otherwise exception will be thrown.
Source: "{#PublishDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#PublishDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Registry]
@@ -151,218 +171,218 @@ Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; Va
; Per family: one ProgId shared by its extensions, always registered. Default
; value and FriendlyTypeName both carry the indirect string; DefaultIcon
; references the embedded icon by resource ID (101 app, 102 bmp, 103 gif,
; 104 jpg, 105 png). Only the OpenWithProgids line(s) at the end of each
; 104 jpg, 105 png, 106 svg). Only the OpenWithProgids line(s) at the end of each
; family block claim the actual association and are gated by the installer
; task "associatewithfiles".
; JPEG family (string 1001, icon 104)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Jpeg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1001"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Jpeg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1001"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Jpeg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Jpeg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.jpg\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.jpeg\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.jfif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1001"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1001"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.jpg\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.jpeg\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.jfif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; GIF family (string 1002, icon 103)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Gif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1002"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Gif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1002"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Gif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-103"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Gif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.gif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Gif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1002"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1002"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-103"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.gif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Gif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; PNG family (string 1003, icon 105)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Png"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1003"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Png"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1003"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Png\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Png\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.png\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.apng\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1003"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1003"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.png\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.apng\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; SVG (string 1004, icon 105 - transparency capable)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Svg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1004"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Svg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1004"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Svg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Svg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.svg\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Svg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; SVG (string 1004, icon 106 - vector)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1004"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1004"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.svg\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Svg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; WebP (string 1005, icon 105 - transparency capable)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Webp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1005"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Webp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1005"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Webp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Webp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.webp\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Webp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1005"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1005"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.webp\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Webp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; AVIF (string 1006, icon 105 - transparency capable)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Avif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1006"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Avif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1006"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Avif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Avif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.avif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Avif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1006"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1006"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.avif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Avif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; ICO (string 1007, icon 105 - transparency capable)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ico"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1007"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ico"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1007"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ico\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ico\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ico\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ico"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; ICO (string 1007, icon 106 - icon format)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1007"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1007"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ico\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ico"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; ICNS (string 1008, icon 105 - transparency capable)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Icns"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1008"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Icns"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1008"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Icns\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Icns\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.icns\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Icns"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; ICNS (string 1008, icon 106 - icon format)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1008"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1008"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.icns\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Icns"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Photoshop family (string 1009, icon 102 - artwork)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Psd"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1009"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Psd"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1009"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Psd\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Psd\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.psd\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.psb\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.pdd\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.psdt\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1009"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1009"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.psd\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.psb\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.pdd\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.psdt\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Krita (string 1010, icon 102 - artwork)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Kra"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1010"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Kra"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1010"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Kra\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Kra\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.kra\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Kra"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1010"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1010"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.kra\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Kra"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; GIMP XCF (string 1011, icon 102 - artwork)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Xcf"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1011"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Xcf"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1011"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Xcf\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Xcf\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.xcf\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Xcf"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1011"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1011"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.xcf\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Xcf"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; TARGA (string 1012, icon 102 - artwork)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tga"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1012"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tga"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1012"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tga\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tga\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.tga\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Tga"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; TARGA (string 1012, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1012"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1012"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.tga\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Tga"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; TIFF family (string 1013, icon 104 - photo)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1013"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1013"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Tif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.tif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.tiff\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1013"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1013"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.tif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.tiff\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; BMP (string 1014, icon 102)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Bmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1014"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Bmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1014"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Bmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Bmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.bmp\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Bmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1014"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1014"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.bmp\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Bmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Wireless BMP (string 1015, icon 102)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Wbmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1015"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Wbmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1015"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Wbmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Wbmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.wbmp\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Wbmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1015"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1015"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.wbmp\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Wbmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; DirectDraw Surface (string 1016, icon 102 - artwork)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Dds"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1016"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Dds"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1016"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Dds\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Dds\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.dds\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Dds"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1016"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1016"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.dds\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Dds"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; HDR family incl. EXR (string 1017, icon 104 - photo)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Hdr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1017"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Hdr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1017"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Hdr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Hdr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.hdr\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.exr\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1017"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1017"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.hdr\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.exr\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; IFF (string 1018, icon 104 - fallback)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Iff"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1018"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Iff"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1018"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Iff\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Iff\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.iff\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Iff"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; IFF (string 1018, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1018"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1018"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.iff\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Iff"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Softimage PIC (string 1019, icon 104 - fallback)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pic"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1019"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pic"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1019"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pic\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pic\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pic\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pic"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Softimage PIC (string 1019, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1019"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1019"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pic\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pic"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; PCX (string 1020, icon 104 - fallback)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pcx"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1020"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pcx"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1020"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pcx\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pcx\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pcx\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pcx"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; PCX (string 1020, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1020"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1020"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pcx\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pcx"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; QOI (string 1021, icon 105 - transparency capable)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Qoi"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1021"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Qoi"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1021"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Qoi\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Qoi\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.qoi\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Qoi"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1021"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1021"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.qoi\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Qoi"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Sun Raster family (string 1022, icon 104 - fallback)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ras"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1022"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ras"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1022"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ras\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ras\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ras\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.sun\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Sun Raster family (string 1022, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1022"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1022"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ras\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.sun\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; OpenRaster (string 1023, icon 102 - artwork)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ora"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1023"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ora"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1023"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ora\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ora\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ora\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ora"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1023"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1023"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ora\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ora"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Animated Cursor (string 1024, icon 103 - animated)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ani"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1024"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ani"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1024"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ani\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-103"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Ani\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ani\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ani"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1024"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1024"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-103"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.ani\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ani"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Portable Float Map family (string 1025, icon 104 - photo/HDR)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pfm"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1025"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pfm"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1025"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pfm\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pfm\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pfm\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.phm\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1025"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1025"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pfm\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.phm\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Silicon Graphics family (string 1026, icon 104 - fallback)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Rgb"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1026"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Rgb"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1026"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Rgb\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Rgb\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.rgb\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.rgba\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.bw\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.sgi\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Silicon Graphics family (string 1026, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1026"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1026"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.rgb\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.rgba\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.bw\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
Root: HKA; Subkey: "Software\Classes\.sgi\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Pixar (string 1027, icon 104 - fallback)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pxr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1027"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pxr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1027"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pxr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Pxr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pxr\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pxr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Pixar (string 1027, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1027"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1027"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.pxr\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pxr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Scitex CT (string 1028, icon 104 - fallback)
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Sct"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1028"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Sct"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1028"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Sct\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.Sct\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.sct\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Sct"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
; Scitex CT (string 1028, icon 106 - archaic)
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1028"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1028"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
Root: HKA; Subkey: "Software\Classes\.sct\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Sct"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
[Icons]
Name: "{group}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"
@@ -372,4 +392,3 @@ Name: "{autodesktop}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks:
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent
Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "{cm:MyInstallVcRedist}"; Flags: waituntilterminated
-4
View File
@@ -12,7 +12,3 @@ comment = "Group caption for the extra installer task options."
[strings.MyAssociateWithFiles]
msgid = "Associate %1 with its supported file types."
comment = "Installer task description. %1 is the application name."
[strings.MyInstallVcRedist]
msgid = "Installing Microsoft Visual C++ Redistributable..."
comment = "Status message shown while installing the VC++ runtime."
+58
View File
@@ -0,0 +1,58 @@
# Strip the PRI split configuration from a MakePri-generated priconfig.xml.
#
# `MakePri.exe createconfig` emits a <packaging> section telling `MakePri.exe new` to
# split resource candidates into separate resource packages (resources.language-*.pri,
# resources.scale-*.pri, ...), leaving the main resources.pri with default-context
# candidates only. A monolithic MSIX package loads nothing but the resources.pri at its
# package root, so any split dimension - autoResourcePackage qualifiers (Language, Scale,
# DXFeatureLevel, ...) as well as manual resourcePackage entries - would strip its
# candidates from the shipped package, e.g. every non-default UI language would silently
# fall back to the source language.
#
# This script therefore removes the whole <packaging> element. The schema declares it
# optional, and leaving an empty one behind would make MakePri warn about a missing
# packaging mode. The file is rewritten in place as UTF-8 without BOM.
#
# Usage (the Windows CI calls it between `MakePri.exe createconfig` and `MakePri.exe new`):
# pwsh -NoProfile -ExecutionPolicy Bypass -File strip-priconfig-packaging-node.ps1 -Path priconfig.xml -Verbose
[CmdletBinding()]
param(
# Path to the priconfig.xml generated by `MakePri.exe createconfig`.
[Parameter(Mandatory = $true, Position = 0)]
[string]$Path
)
if (-not (Test-Path -LiteralPath $Path)) {
throw "priconfig file not found: $Path"
}
# priconfig.xml declares no XML namespace, so plain XPath is sufficient here.
$document = [System.Xml.XmlDocument]::new()
$document.Load($Path)
$packaging = $document.SelectSingleNode('/resources/packaging')
if ($null -eq $packaging) {
Write-Verbose "No <packaging> element found; the config already yields a single monolithic PRI."
} else {
# Report every split directive we are about to drop, for build log auditing.
foreach ($node in @($packaging.SelectNodes('autoResourcePackage | resourcePackage'))) {
$name = $node.GetAttribute('qualifier')
if (-not $name) { $name = $node.GetAttribute('name') }
Write-Verbose "Dropping split directive <$($node.Name)> '$name'."
}
[void]$packaging.ParentNode.RemoveChild($packaging)
}
# Rewrite in place: UTF-8 without BOM (XmlDocument.Save(string) would emit one) and tab
# indentation, matching what createconfig itself emits.
$settings = [System.Xml.XmlWriterSettings]::new()
$settings.Indent = $true
$settings.IndentChars = "`t"
$settings.Encoding = [System.Text.UTF8Encoding]::new($false)
$writer = [System.Xml.XmlWriter]::Create($Path, $settings)
try {
$document.Save($writer)
} finally {
$writer.Close()
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Loaded 100 of 242 files, more files were not shown because too many files have changed in this diff. Show more