Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34c2ff673e | ||
|
|
3ad5781979 | ||
|
|
e10c3c5d10 | ||
|
|
edcb982311 | ||
|
|
cb6e269cc7 | ||
|
|
70a3eefc76 | ||
|
|
b06cf179d5 | ||
|
|
4c81571464 | ||
|
|
8394ecff9c | ||
|
|
6c7f8ddea3 | ||
|
|
b45a280acb | ||
|
|
2121857fc1 | ||
|
|
a912f47c95 | ||
|
|
0cfaedebfa | ||
|
|
be156d1df5 | ||
|
|
f651297bdf | ||
|
|
851b7c53c6 | ||
|
|
c060ba5596 | ||
|
|
c772e20e67 | ||
|
|
361b083a1d | ||
|
|
3d34b9c1ec | ||
|
|
052257ea98 | ||
|
|
c9bc4b1ef0 | ||
|
|
83044b94d4 | ||
|
|
1eb3b40e4b | ||
|
|
8bad88ce04 | ||
|
|
042e0d52c9 | ||
|
|
b35d6712f4 | ||
|
|
85cb638be9 | ||
|
|
014372b9c0 | ||
|
|
2131f4ffa3 | ||
|
|
1cb4d55335 | ||
|
|
9b67599979 | ||
|
|
6ff4330f26 | ||
|
|
aa8e8fecf4 | ||
|
|
56af1c154a | ||
|
|
22cae20707 | ||
|
|
447a6b45af | ||
|
|
f946247d1d | ||
|
|
f9991998ed |
No files matched your search
@@ -39,8 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
macdeployqt ./scwpic.app -dmg
|
macdeployqt ./scwpic.app -dmg
|
||||||
ls
|
ls
|
||||||
- uses: actions/upload-artifact@v7
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: "scwpic-macos-latest"
|
name: "macos-bundle"
|
||||||
path: "*.dmg"
|
path: "*.dmg"
|
||||||
archive: false
|
|
||||||
@@ -3,6 +3,36 @@ name: Ubuntu CI
|
|||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
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:
|
ubuntu-26-04-build:
|
||||||
runs-on: ubuntu-26.04
|
runs-on: ubuntu-26.04
|
||||||
steps:
|
steps:
|
||||||
@@ -28,8 +58,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
sudo apt install ./*.deb
|
sudo apt install ./*.deb
|
||||||
- uses: actions/upload-artifact@v7
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: scwpic-ubuntu-26.04
|
name: ubuntu-26.04-deb-package
|
||||||
path: build/*.deb
|
path: build/*.deb
|
||||||
archive: false
|
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
modules: 'qtimageformats'
|
modules: 'qtimageformats'
|
||||||
cache: true
|
cache: true
|
||||||
# we need this until miurahr/aqtinstall#1007 ships 3.3.1 for Qt >= 6.11.0 for Windows.
|
# 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@16db45a70b5905ad596941b223469bc86a56901e'
|
aqtsource: 'aqtinstall @ git+https://github.com/miurahr/aqtinstall@16db45a70b5905ad596941b223469bc86a56901a'
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
@@ -45,9 +45,9 @@ jobs:
|
|||||||
set CMAKE_PREFIX_PATH=%PWD%/dependencies_bin
|
set CMAKE_PREFIX_PATH=%PWD%/dependencies_bin
|
||||||
mkdir dependencies_src
|
mkdir dependencies_src
|
||||||
echo ::group::===== exiv2 =====
|
echo ::group::===== exiv2 =====
|
||||||
curl -fsSL -o exiv2_bin.zip https://github.com/Exiv2/exiv2/releases/download/v0.28.9/exiv2-0.28.9-2022msvc-AMD64.zip
|
curl -fsSL -o exiv2_bin.zip https://github.com/Exiv2/exiv2/releases/download/v0.28.7/exiv2-0.28.7-2022msvc-AMD64.zip
|
||||||
7z x exiv2_bin.zip -y
|
7z x exiv2_bin.zip -y
|
||||||
ren .\exiv2-0.28.9-2022msvc-AMD64 dependencies_bin
|
ren .\exiv2-0.28.7-2022msvc-AMD64 dependencies_bin
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
echo ::group::===== zlib =====
|
echo ::group::===== zlib =====
|
||||||
curl -fsSL -o zlib_src.zip https://github.com/madler/zlib/releases/download/v1.3.2/zlib132.zip
|
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
|
cmake --build build_dependencies/zlib --config Release --target=install || goto :error
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
echo ::group::===== AOM for libavif AVI decoding support =====
|
echo ::group::===== AOM for libavif AVI decoding support =====
|
||||||
git clone -q -b v3.15.3 --depth 1 https://aomedia.googlesource.com/aom dependencies_src/aom
|
git clone -q -b v3.13.1 --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 ./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
|
cmake --build build_dependencies/aom --config Release --target=install || goto :error
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
echo ::group::===== libavif =====
|
echo ::group::===== libavif =====
|
||||||
curl -fsSL -o libavif_src.zip https://github.com/AOMediaCodec/libavif/archive/v1.4.2.zip
|
curl -fsSL -o libavif-v1_3_0.zip https://github.com/AOMediaCodec/libavif/archive/v1.3.0.zip
|
||||||
7z x libavif_src.zip -y -o"dependencies_src"
|
7z x libavif-v1_3_0.zip -y -o"dependencies_src"
|
||||||
ren .\dependencies_src\libavif-1.4.2 libavif || goto :error
|
ren .\dependencies_src\libavif-1.3.0 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 ./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
|
cmake --build build_dependencies/libavif --config Release --target=install || goto :error
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
echo ::group::===== expat =====
|
echo ::group::===== expat =====
|
||||||
curl -fsSL -o expat_src.zip https://github.com/libexpat/libexpat/archive/R_2_10_0.zip
|
curl -fsSL -o expat_src.zip https://github.com/libexpat/libexpat/archive/R_2_7_3.zip
|
||||||
7z x expat_src.zip -y -o"dependencies_src"
|
7z x expat_src.zip -y -o"dependencies_src"
|
||||||
ren .\dependencies_src\libexpat-R_2_10_0 expat || goto :error
|
ren .\dependencies_src\libexpat-R_2_7_3 expat || goto :error
|
||||||
cmake ./dependencies_src/expat/expat -Bbuild_dependencies/expat -DCMAKE_INSTALL_PREFIX="dependencies_bin" || 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
|
cmake --build build_dependencies/expat --config Release --target=install || goto :error
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
@@ -92,10 +92,7 @@ jobs:
|
|||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
:: ------ app ------
|
:: ------ app ------
|
||||||
echo ::group::===== App Build =====
|
echo ::group::===== App Build =====
|
||||||
:: YYC MARK: The GitHub runner preinstalls Inno Setup 6.7.1; align the metaglot
|
cmake -Bbuild . || goto :error
|
||||||
:: 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 --build build --config Release || goto :error
|
||||||
cmake --install build --config Release --prefix "%PWD%\build" || goto :error
|
cmake --install build --config Release --prefix "%PWD%\build" || goto :error
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
@@ -110,31 +107,18 @@ jobs:
|
|||||||
iscc "/DPublishDir=%CD%\build\bin" "/DOutputDir=%CD%\pack\inno" build\inno-metadata\scwpic.iss || goto :error
|
iscc "/DPublishDir=%CD%\build\bin" "/DOutputDir=%CD%\pack\inno" build\inno-metadata\scwpic.iss || goto :error
|
||||||
echo ::endgroup::
|
echo ::endgroup::
|
||||||
echo ::group::===== App MSIX Pack =====
|
echo ::group::===== App MSIX Pack =====
|
||||||
mkdir pack\msix\staging
|
:: TODO
|
||||||
robocopy build\msix-metadata pack\msix\staging AppxManifest.xml
|
|
||||||
if ErrorLevel 8 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::
|
echo ::endgroup::
|
||||||
exit /B 0
|
exit /B 0
|
||||||
:error
|
:error
|
||||||
exit /B 1
|
exit /B 1
|
||||||
- uses: actions/upload-artifact@v7
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake-setup"
|
name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake-setup"
|
||||||
path: pack/inno/scwpic-setup.exe
|
path: pack/inno/scwpic-setup.exe
|
||||||
archive: false
|
# TODO: Enable when start to support MSIX pack.
|
||||||
- uses: actions/upload-artifact@v7
|
# - uses: actions/upload-artifact@v6
|
||||||
with:
|
# with:
|
||||||
name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake"
|
# name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake"
|
||||||
path: pack/msix/scwpic.msix
|
# path: pack/msix/scwpic.msix
|
||||||
archive: false
|
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ set (CMAKE_AUTOUIC ON)
|
|||||||
|
|
||||||
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
|
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
set (QT_MINIMUM_VERSION "6.8")
|
set (QT_MINIMUM_VERSION "6.5")
|
||||||
|
|
||||||
find_package(Qt${QT_VERSION_MAJOR} ${QT_MINIMUM_VERSION} REQUIRED
|
find_package(Qt${QT_VERSION_MAJOR} ${QT_MINIMUM_VERSION} REQUIRED
|
||||||
COMPONENTS Widgets Svg SvgWidgets LinguistTools
|
COMPONENTS Widgets Svg SvgWidgets LinguistTools
|
||||||
@@ -238,12 +238,9 @@ if (WIN32)
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Setup Inno Setup script file
|
# 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)
|
set (SCWPIC_INNO_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/inno-metadata)
|
||||||
execute_process (
|
execute_process (
|
||||||
COMMAND ${METAGLOT_EXECUTABLE} render inno
|
COMMAND ${METAGLOT_EXECUTABLE} render inno
|
||||||
--inno-version ${INNO_SETUP_VERSION}
|
|
||||||
--manifest ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.toml
|
--manifest ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.toml
|
||||||
--po ${CMAKE_SOURCE_DIR}/locales/inno/*.po
|
--po ${CMAKE_SOURCE_DIR}/locales/inno/*.po
|
||||||
--iss-template ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.liquid
|
--iss-template ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.liquid
|
||||||
@@ -258,7 +255,8 @@ if (WIN32)
|
|||||||
endif ()
|
endif ()
|
||||||
configure_file (${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss.in ${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss @ONLY)
|
configure_file (${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss.in ${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss @ONLY)
|
||||||
|
|
||||||
# Setup MSIX metadata.
|
# Setup MSIX metadata. NOTE: the package cannot be built yet: the logo assets
|
||||||
|
# referenced by the manifest are not provided (marked with TODO comments).
|
||||||
set (SCWPIC_MSIX_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/msix-metadata)
|
set (SCWPIC_MSIX_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/msix-metadata)
|
||||||
execute_process (
|
execute_process (
|
||||||
COMMAND ${METAGLOT_EXECUTABLE} render msix
|
COMMAND ${METAGLOT_EXECUTABLE} render msix
|
||||||
|
|||||||
@@ -1,162 +0,0 @@
|
|||||||
# 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.
|
|
||||||
@@ -1,396 +0,0 @@
|
|||||||
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.
|
|
||||||
|
|
||||||
@@ -9,7 +9,10 @@ Yet another legacy Windows Photo Viewer with cross-platform support.
|
|||||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
|
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
|
||||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
|
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
|
||||||
|
|
||||||

|
<!--
|
||||||
|
TODO: Add main window illustration in future.
|
||||||
|

|
||||||
|
-->
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,10 @@
|
|||||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
|
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
|
||||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
|
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
|
||||||
|
|
||||||

|
<!--
|
||||||
|
TODO: Add main window illustration in future.
|
||||||
|

|
||||||
|
-->
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
|
|
||||||
|
|||||||
@@ -1,57 +1,45 @@
|
|||||||
version = 1
|
version = 1
|
||||||
SPDX-PackageName = "sarasacw-picture"
|
SPDX-PackageName = "Pineapple Pictures"
|
||||||
SPDX-PackageDownloadLocation = "https://github.com/SarasasChipWorkshop/sarasacw-picture.git"
|
SPDX-PackageDownloadLocation = "https://github.com/BLumia/pineapple-pictures"
|
||||||
|
|
||||||
[[annotations]]
|
[[annotations]]
|
||||||
path = [".gitattributes", ".git-blame-ignore-revs", ".gitignore", ".github/**"]
|
path = [".gitattributes", ".git-blame-ignore-revs", ".gitignore", "appveyor.yml", ".github/**"]
|
||||||
precedence = "aggregate"
|
precedence = "aggregate"
|
||||||
SPDX-FileCopyrightText = "None"
|
SPDX-FileCopyrightText = "None"
|
||||||
SPDX-License-Identifier = "CC0-1.0"
|
SPDX-License-Identifier = "CC0-1.0"
|
||||||
|
|
||||||
[[annotations]]
|
[[annotations]]
|
||||||
path = ["README**.md", "DEVNOTE.md", "NEWS", "assets/**.qrc"]
|
path = ["README**.md", "NEWS", "assets/**.rc.in", "assets/**.qrc", "dist/appstream/**", "dist/**.in", "dist/**.desktop", "dist/**.rc.in.toml", "dist/**.rc.in.liquid"]
|
||||||
precedence = "aggregate"
|
precedence = "aggregate"
|
||||||
SPDX-FileCopyrightText = "None"
|
SPDX-FileCopyrightText = "None"
|
||||||
SPDX-License-Identifier = "CC0-1.0"
|
SPDX-License-Identifier = "CC0-1.0"
|
||||||
|
|
||||||
[[annotations]]
|
[[annotations]]
|
||||||
path = ["LICENSE"]
|
path = ["locales/app/**.ts", "locales/winrc/**", "assets/plain/translators.html"]
|
||||||
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"
|
precedence = "aggregate"
|
||||||
SPDX-FileCopyrightText = "Translators from hosted.weblate.org"
|
SPDX-FileCopyrightText = "Translators from hosted.weblate.org"
|
||||||
SPDX-License-Identifier = "MIT"
|
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"
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
static QIcon loadHidpiIcon(const QString &resp, QSize sz = QSize(32, 32))
|
static QIcon loadHidpiIcon(const QString &resp, QSize sz = QSize(32, 32))
|
||||||
{
|
{
|
||||||
QPixmap pm = QPixmap(resp);
|
QPixmap pm = QPixmap(resp);
|
||||||
pm = pm.scaled(sz * qApp->devicePixelRatio(), Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
pm.scaled(sz * qApp->devicePixelRatio(), Qt::KeepAspectRatio);
|
||||||
pm.setDevicePixelRatio(qApp->devicePixelRatio());
|
pm.setDevicePixelRatio(qApp->devicePixelRatio());
|
||||||
return QIcon(pm);
|
return QIcon(pm);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,26 +21,29 @@
|
|||||||
|
|
||||||
static const QColor& ColorSchemaToTextForeground(Qt::ColorScheme colorScheme) {
|
static const QColor& ColorSchemaToTextForeground(Qt::ColorScheme colorScheme) {
|
||||||
// YYC MARK:
|
// YYC MARK:
|
||||||
// If we are using Windows 10 and lower system, we should only support light mode.
|
// 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.
|
||||||
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
|
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
|
colorScheme = Qt::ColorScheme::Light;
|
||||||
|
#else
|
||||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
||||||
colorScheme = Qt::ColorScheme::Light;
|
colorScheme = Qt::ColorScheme::Light;
|
||||||
}
|
}
|
||||||
|
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
#endif // defined(Q_OS_WIN)
|
#endif // defined(Q_OS_WIN)
|
||||||
|
|
||||||
switch (colorScheme) {
|
switch (colorScheme) {
|
||||||
case Qt::ColorScheme::Dark: {
|
case Qt::ColorScheme::Dark:
|
||||||
static QColor WHITE = QColor("White");
|
static QColor WHITE = QColor("White");
|
||||||
return WHITE;
|
return WHITE;
|
||||||
}
|
|
||||||
case Qt::ColorScheme::Light:
|
case Qt::ColorScheme::Light:
|
||||||
case Qt::ColorScheme::Unknown:
|
case Qt::ColorScheme::Unknown:
|
||||||
default: {
|
default:
|
||||||
static QColor BLACK = QColor("Black");
|
static QColor BLACK = QColor("Black");
|
||||||
return BLACK;
|
return BLACK;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class PGraphicsPixmapItem : public QGraphicsPixmapItem
|
class PGraphicsPixmapItem : public QGraphicsPixmapItem
|
||||||
@@ -159,9 +162,11 @@ void GraphicsScene::showSvg(const QString &filepath)
|
|||||||
this->clear();
|
this->clear();
|
||||||
QGraphicsSvgItem * svgItem = new QGraphicsSvgItem();
|
QGraphicsSvgItem * svgItem = new QGraphicsSvgItem();
|
||||||
QSvgRenderer * render = new QSvgRenderer(svgItem);
|
QSvgRenderer * render = new QSvgRenderer(svgItem);
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||||
if (Settings::instance()->svgTiny12Only()) {
|
if (Settings::instance()->svgTiny12Only()) {
|
||||||
render->setOptions(QtSvg::Tiny12FeaturesOnly);
|
render->setOptions(QtSvg::Tiny12FeaturesOnly);
|
||||||
}
|
}
|
||||||
|
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||||
render->load(filepath);
|
render->load(filepath);
|
||||||
svgItem->setSharedRenderer(render);
|
svgItem->setSharedRenderer(render);
|
||||||
this->addItem(svgItem);
|
this->addItem(svgItem);
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ void GraphicsView::showFileFromPath(const QString &filePath)
|
|||||||
} else if (!imageReader.canRead()) {
|
} else if (!imageReader.canRead()) {
|
||||||
showText(tr("Image data is invalid or currently unsupported"));
|
showText(tr("Image data is invalid or currently unsupported"));
|
||||||
} else {
|
} else {
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
|
||||||
QImage && img = imageReader.read();
|
QImage && img = imageReader.read();
|
||||||
if (img.isNull()) {
|
if (img.isNull()) {
|
||||||
showText(tr("Image data is invalid or currently unsupported"));
|
showText(tr("Image data is invalid or currently unsupported"));
|
||||||
@@ -67,6 +68,15 @@ void GraphicsView::showFileFromPath(const QString &filePath)
|
|||||||
img.setDevicePixelRatio(devicePixelRatioF());
|
img.setDevicePixelRatio(devicePixelRatioF());
|
||||||
showImage(img);
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -356,12 +366,17 @@ QTransform GraphicsView::resetScale(const QTransform & orig)
|
|||||||
|
|
||||||
void GraphicsView::updateStyle(Qt::ColorScheme colorScheme) {
|
void GraphicsView::updateStyle(Qt::ColorScheme colorScheme) {
|
||||||
// YYC MARK:
|
// YYC MARK:
|
||||||
// If we are using Windows 10 and lower system, we should only support light mode.
|
// 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.
|
||||||
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
|
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
|
colorScheme = Qt::ColorScheme::Light;
|
||||||
|
#else
|
||||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
||||||
colorScheme = Qt::ColorScheme::Light;
|
colorScheme = Qt::ColorScheme::Light;
|
||||||
}
|
}
|
||||||
|
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
#endif // defined(Q_OS_WIN)
|
#endif // defined(Q_OS_WIN)
|
||||||
|
|
||||||
switch (colorScheme) {
|
switch (colorScheme) {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
|
|||||||
#else
|
#else
|
||||||
const QString qmDir = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath("translations");
|
const QString qmDir = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath("translations");
|
||||||
#endif
|
#endif
|
||||||
if (translator.load(QLocale(), u"SCWPicture"_s, u"_"_s, qmDir)) {
|
if (translator.load(QLocale(), u"SarasaCWPicture"_s, u"_"_s, qmDir)) {
|
||||||
QCoreApplication::installTranslator(&translator);
|
QCoreApplication::installTranslator(&translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,11 +78,7 @@ int main(int argc, char *argv[])
|
|||||||
// Handle dock icon clicks to show hidden window
|
// Handle dock icon clicks to show hidden window
|
||||||
a.connect(&a, &QApplication::applicationStateChanged, [&w](Qt::ApplicationState state) {
|
a.connect(&a, &QApplication::applicationStateChanged, [&w](Qt::ApplicationState state) {
|
||||||
if (state == Qt::ApplicationActive && w.isHidden()) {
|
if (state == Qt::ApplicationActive && w.isHidden()) {
|
||||||
// YYC MARK:
|
w.showFiles({});
|
||||||
// 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.galleryCurrent(false);
|
||||||
w.showNormal();
|
w.showNormal();
|
||||||
w.raise();
|
w.raise();
|
||||||
|
|||||||
@@ -257,7 +257,11 @@ void MainWindow::galleryCurrent(bool fromFileWatcher)
|
|||||||
|
|
||||||
QStringList MainWindow::supportedImageFormats()
|
QStringList MainWindow::supportedImageFormats()
|
||||||
{
|
{
|
||||||
QStringList formatFilters;
|
QStringList formatFilters {
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
|
||||||
|
QStringLiteral("*.jfif")
|
||||||
|
#endif // QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
|
||||||
|
};
|
||||||
for (const QByteArray &item : QImageReader::supportedImageFormats()) {
|
for (const QByteArray &item : QImageReader::supportedImageFormats()) {
|
||||||
formatFilters.append(QStringLiteral("*.") % QString::fromLocal8Bit(item));
|
formatFilters.append(QStringLiteral("*.") % QString::fromLocal8Bit(item));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,12 +43,17 @@ void NavigatorView::updateMainViewportRegion()
|
|||||||
|
|
||||||
void NavigatorView::updateStyle(Qt::ColorScheme colorScheme) {
|
void NavigatorView::updateStyle(Qt::ColorScheme colorScheme) {
|
||||||
// YYC MARK:
|
// YYC MARK:
|
||||||
// If we are using Windows 10 and lower system, we should only support light mode.
|
// 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.
|
||||||
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
|
// Because Qt's dark-mode-aware "Windows 11" theme is only well-supported on Windows 11.
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
|
colorScheme = Qt::ColorScheme::Light;
|
||||||
|
#else
|
||||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
||||||
colorScheme = Qt::ColorScheme::Light;
|
colorScheme = Qt::ColorScheme::Light;
|
||||||
}
|
}
|
||||||
|
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
#endif // defined(Q_OS_WIN)
|
#endif // defined(Q_OS_WIN)
|
||||||
|
|
||||||
switch (colorScheme) {
|
switch (colorScheme) {
|
||||||
|
|||||||
@@ -13,15 +13,6 @@
|
|||||||
|
|
||||||
#include <optional>
|
#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 <exdisp.h> // IShellWindows, CLSID_ShellWindows
|
||||||
#include <servprov.h> // IServiceProvider
|
#include <servprov.h> // IServiceProvider
|
||||||
#include <shlguid.h> // SID_STopLevelBrowser
|
#include <shlguid.h> // SID_STopLevelBrowser
|
||||||
|
|||||||
@@ -49,39 +49,34 @@ private:
|
|||||||
Pairs pairs;
|
Pairs pairs;
|
||||||
};
|
};
|
||||||
|
|
||||||
SettingsDialog::SettingsDialog(QWidget *parent)
|
static EnumComboBoxTransformer<Settings::MouseWheelBehavior, QString> MW_OPTIONS {
|
||||||
: 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::Zoom, QCoreApplication::translate("SettingsDialog", "Zoom in and out") },
|
||||||
{ Settings::MouseWheelBehavior::Switch, QCoreApplication::translate("SettingsDialog", "View next or previous item") }
|
{ Settings::MouseWheelBehavior::Switch, QCoreApplication::translate("SettingsDialog", "View next or previous item") }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static EnumComboBoxTransformer<Settings::WindowSizeBehavior, QString> IWS_OPTIONS {
|
static EnumComboBoxTransformer<Settings::WindowSizeBehavior, QString> IWS_OPTIONS {
|
||||||
{
|
{
|
||||||
{ Settings::WindowSizeBehavior::Maximized, QCoreApplication::translate("SettingsDialog", "Maximized") },
|
{ Settings::WindowSizeBehavior::Maximized, QCoreApplication::translate("SettingsDialog", "Maximized") },
|
||||||
{ Settings::WindowSizeBehavior::Windowed, QCoreApplication::translate("SettingsDialog", "Windowed") }
|
{ Settings::WindowSizeBehavior::Windowed, QCoreApplication::translate("SettingsDialog", "Windowed") }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static EnumComboBoxTransformer<Qt::HighDpiScaleFactorRoundingPolicy, QString> HIDPI_OPTIONS {
|
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::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::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::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") }
|
{ 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);
|
||||||
|
|
||||||
auto* settings = Settings::instance();
|
auto* settings = Settings::instance();
|
||||||
ui->m_showNavigatorView->setChecked(Settings::instance()->showNavigatorView());
|
ui->m_showNavigatorView->setChecked(Settings::instance()->showNavigatorView());
|
||||||
@@ -98,19 +93,27 @@ SettingsDialog::SettingsDialog(QWidget *parent)
|
|||||||
Qt::HighDpiScaleFactorRoundingPolicy hidpi = settings->hiDpiScaleFactorBehavior();
|
Qt::HighDpiScaleFactorRoundingPolicy hidpi = settings->hiDpiScaleFactorBehavior();
|
||||||
ui->m_hiDpiRoundingPolicyBehavior->setCurrentIndex(HIDPI_OPTIONS.to_index(hidpi));
|
ui->m_hiDpiRoundingPolicyBehavior->setCurrentIndex(HIDPI_OPTIONS.to_index(hidpi));
|
||||||
|
|
||||||
connect(ui->m_showNavigatorView, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
|
#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){
|
||||||
Settings::instance()->setShowNavigatorView(state == Qt::Checked);
|
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);
|
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);
|
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);
|
Settings::instance()->setSvgTiny12Only(state == Qt::Checked);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -5,12 +5,13 @@
|
|||||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||||
IgnorableNamespaces="uap rescap">
|
IgnorableNamespaces="uap rescap">
|
||||||
|
|
||||||
<Identity Name="SarasasChipWorkshop.Picture" Publisher="CN=Sarasa's Chip Workshop, O=Sarasa's Chip Workshop, C=CN" Version="@PROJECT_VERSION@.0" />
|
<Identity Name="SarasasChipWorkshop.Picture" Publisher="CN=Unsigned, OID.2.25.311729368913984317654407730594956997722=1" Version="@PROJECT_VERSION@.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>ms-resource:AppDisplayName</DisplayName>
|
<DisplayName>ms-resource:AppDisplayName</DisplayName>
|
||||||
<PublisherDisplayName>ms-resource:PublisherDisplayName</PublisherDisplayName>
|
<PublisherDisplayName>ms-resource:PublisherDisplayName</PublisherDisplayName>
|
||||||
<Logo>Assets\SarasasChipWorkshop.Picture.StoreLogo.png</Logo>
|
<!-- TODO: the store logo asset is not provided yet; the path below assumes it exists. -->
|
||||||
|
<Logo>Assets\Square44x44Logo.png</Logo>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
<Resources>
|
<Resources>
|
||||||
@@ -28,17 +29,19 @@
|
|||||||
</Capabilities>
|
</Capabilities>
|
||||||
|
|
||||||
<Applications>
|
<Applications>
|
||||||
<Application Id="SarasasChipWorkshop.Picture" Executable="MyApp\scwpic.exe" EntryPoint="Windows.FullTrustApplication">
|
<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. -->
|
||||||
<uap:VisualElements
|
<uap:VisualElements
|
||||||
DisplayName="ms-resource:AppDisplayName"
|
DisplayName="ms-resource:AppDisplayName"
|
||||||
Description="ms-resource:AppDescription"
|
Description="ms-resource:AppDescription"
|
||||||
BackgroundColor="transparent"
|
BackgroundColor="transparent"
|
||||||
Square44x44Logo="Assets\SarasasChipWorkshop.Picture.Square44x44Logo.png"
|
Square44x44Logo="Assets\Square44x44Logo.png"
|
||||||
Square150x150Logo="Assets\SarasasChipWorkshop.Picture.Square150x150Logo.png" />
|
Square150x150Logo="Assets\Square150x150Logo.png" />
|
||||||
<Extensions>
|
<Extensions>
|
||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="jpegimages">
|
<uap:FileTypeAssociation Name="jpegimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeJpegDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.jfif</uap:FileType>
|
<uap:FileType>.jfif</uap:FileType>
|
||||||
@@ -50,6 +53,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="gifimages">
|
<uap:FileTypeAssociation Name="gifimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeGifDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\gif.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.gif</uap:FileType>
|
<uap:FileType>.gif</uap:FileType>
|
||||||
@@ -59,6 +63,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="pngimages">
|
<uap:FileTypeAssociation Name="pngimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypePngDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.apng</uap:FileType>
|
<uap:FileType>.apng</uap:FileType>
|
||||||
@@ -69,7 +74,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="svgimages">
|
<uap:FileTypeAssociation Name="svgimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeSvgDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeSvgDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.svg</uap:FileType>
|
<uap:FileType>.svg</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -78,6 +84,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="webpimages">
|
<uap:FileTypeAssociation Name="webpimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeWebpDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.webp</uap:FileType>
|
<uap:FileType>.webp</uap:FileType>
|
||||||
@@ -87,6 +94,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="avifimages">
|
<uap:FileTypeAssociation Name="avifimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeAvifDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.avif</uap:FileType>
|
<uap:FileType>.avif</uap:FileType>
|
||||||
@@ -96,7 +104,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="icoimages">
|
<uap:FileTypeAssociation Name="icoimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeIcoDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeIcoDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.ico</uap:FileType>
|
<uap:FileType>.ico</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -105,7 +114,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="icnsimages">
|
<uap:FileTypeAssociation Name="icnsimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeIcnsDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeIcnsDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.icns</uap:FileType>
|
<uap:FileType>.icns</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -114,6 +124,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="psdimages">
|
<uap:FileTypeAssociation Name="psdimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypePsdDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.pdd</uap:FileType>
|
<uap:FileType>.pdd</uap:FileType>
|
||||||
@@ -126,6 +137,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="kraimages">
|
<uap:FileTypeAssociation Name="kraimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeKraDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.kra</uap:FileType>
|
<uap:FileType>.kra</uap:FileType>
|
||||||
@@ -135,6 +147,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="xcfimages">
|
<uap:FileTypeAssociation Name="xcfimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeXcfDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.xcf</uap:FileType>
|
<uap:FileType>.xcf</uap:FileType>
|
||||||
@@ -144,7 +157,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="tgaimages">
|
<uap:FileTypeAssociation Name="tgaimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeTgaDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeTgaDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.tga</uap:FileType>
|
<uap:FileType>.tga</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -153,6 +167,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="tifimages">
|
<uap:FileTypeAssociation Name="tifimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeTifDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.tif</uap:FileType>
|
<uap:FileType>.tif</uap:FileType>
|
||||||
@@ -163,6 +178,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="bmpimages">
|
<uap:FileTypeAssociation Name="bmpimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeBmpDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.bmp</uap:FileType>
|
<uap:FileType>.bmp</uap:FileType>
|
||||||
@@ -172,6 +188,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="wbmpimages">
|
<uap:FileTypeAssociation Name="wbmpimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeWbmpDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.wbmp</uap:FileType>
|
<uap:FileType>.wbmp</uap:FileType>
|
||||||
@@ -181,6 +198,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="ddsimages">
|
<uap:FileTypeAssociation Name="ddsimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeDdsDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.dds</uap:FileType>
|
<uap:FileType>.dds</uap:FileType>
|
||||||
@@ -190,6 +208,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="hdrimages">
|
<uap:FileTypeAssociation Name="hdrimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeHdrDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.exr</uap:FileType>
|
<uap:FileType>.exr</uap:FileType>
|
||||||
@@ -200,7 +219,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="iffimages">
|
<uap:FileTypeAssociation Name="iffimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeIffDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeIffDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.iff</uap:FileType>
|
<uap:FileType>.iff</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -209,7 +229,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="picimages">
|
<uap:FileTypeAssociation Name="picimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypePicDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypePicDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.pic</uap:FileType>
|
<uap:FileType>.pic</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -218,7 +239,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="pcximages">
|
<uap:FileTypeAssociation Name="pcximages">
|
||||||
<uap:DisplayName>ms-resource:FileTypePcxDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypePcxDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.pcx</uap:FileType>
|
<uap:FileType>.pcx</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -227,6 +249,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="qoiimages">
|
<uap:FileTypeAssociation Name="qoiimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeQoiDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.qoi</uap:FileType>
|
<uap:FileType>.qoi</uap:FileType>
|
||||||
@@ -236,7 +259,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="rasimages">
|
<uap:FileTypeAssociation Name="rasimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeRasDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeRasDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.ras</uap:FileType>
|
<uap:FileType>.ras</uap:FileType>
|
||||||
<uap:FileType>.sun</uap:FileType>
|
<uap:FileType>.sun</uap:FileType>
|
||||||
@@ -246,6 +270,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="oraimages">
|
<uap:FileTypeAssociation Name="oraimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeOraDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.ora</uap:FileType>
|
<uap:FileType>.ora</uap:FileType>
|
||||||
@@ -255,6 +280,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="aniimages">
|
<uap:FileTypeAssociation Name="aniimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeAniDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\gif.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.ani</uap:FileType>
|
<uap:FileType>.ani</uap:FileType>
|
||||||
@@ -264,6 +290,7 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="pfmimages">
|
<uap:FileTypeAssociation Name="pfmimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypePfmDisplayName</uap:DisplayName>
|
<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:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||||
<uap:SupportedFileTypes>
|
<uap:SupportedFileTypes>
|
||||||
<uap:FileType>.pfm</uap:FileType>
|
<uap:FileType>.pfm</uap:FileType>
|
||||||
@@ -274,7 +301,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="rgbimages">
|
<uap:FileTypeAssociation Name="rgbimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeRgbDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeRgbDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.bw</uap:FileType>
|
<uap:FileType>.bw</uap:FileType>
|
||||||
<uap:FileType>.rgb</uap:FileType>
|
<uap:FileType>.rgb</uap:FileType>
|
||||||
@@ -286,7 +314,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="pxrimages">
|
<uap:FileTypeAssociation Name="pxrimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypePxrDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypePxrDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.pxr</uap:FileType>
|
<uap:FileType>.pxr</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
@@ -295,7 +324,8 @@
|
|||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
<uap:Extension Category="windows.fileTypeAssociation">
|
||||||
<uap:FileTypeAssociation Name="sctimages">
|
<uap:FileTypeAssociation Name="sctimages">
|
||||||
<uap:DisplayName>ms-resource:FileTypeSctDisplayName</uap:DisplayName>
|
<uap:DisplayName>ms-resource:FileTypeSctDisplayName</uap:DisplayName>
|
||||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
<!-- 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:SupportedFileTypes>
|
||||||
<uap:FileType>.sct</uap:FileType>
|
<uap:FileType>.sct</uap:FileType>
|
||||||
</uap:SupportedFileTypes>
|
</uap:SupportedFileTypes>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 787 B |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 281 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.8 KiB |
@@ -12,7 +12,6 @@
|
|||||||
103 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/gif.ico" // gif
|
103 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/gif.ico" // gif
|
||||||
104 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/jpg.ico" // jpg
|
104 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/jpg.ico" // jpg
|
||||||
105 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/png.ico" // png
|
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>")
|
// String tables (file type descriptions, referenced as "@<exe path>,-<id>")
|
||||||
|
|||||||
@@ -2,3 +2,4 @@
|
|||||||
MyAppName={{ strings.MyAppName | inno_escape }}
|
MyAppName={{ strings.MyAppName | inno_escape }}
|
||||||
MyOther={{ strings.MyOther | inno_escape }}
|
MyOther={{ strings.MyOther | inno_escape }}
|
||||||
MyAssociateWithFiles={{ strings.MyAssociateWithFiles | inno_escape }}
|
MyAssociateWithFiles={{ strings.MyAssociateWithFiles | inno_escape }}
|
||||||
|
MyInstallVcRedist={{ strings.MyInstallVcRedist | inno_escape }}
|
||||||
@@ -25,7 +25,7 @@ because it would otherwise open a Liquid output tag.
|
|||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
AppId={% raw %}{{A90F12B1-1BD5-4816-994B-A3E95CCFF24E}{% endraw %}
|
AppId={% raw %}{{A90F12B1-1BD5-4816-994B-A3E95CCFF24E}{% endraw %}
|
||||||
AppName={cm:MyAppName}
|
AppName={cm:MyAppName}
|
||||||
AppVersion={#MyAppVersion}
|
AppVersion={#MyAppVersion} ;{#MyAppName} {#MyAppVersion}
|
||||||
AppPublisher={#MyAppPublisher}
|
AppPublisher={#MyAppPublisher}
|
||||||
AppPublisherURL={#MyAppURL}
|
AppPublisherURL={#MyAppURL}
|
||||||
AppSupportURL={#MyAppURL}
|
AppSupportURL={#MyAppURL}
|
||||||
@@ -62,33 +62,23 @@ WizardStyle=modern
|
|||||||
YYC MARK:
|
YYC MARK:
|
||||||
The base messages file pairing (the official full translation that provides
|
The base messages file pairing (the official full translation that provides
|
||||||
the language identity) is derived from MetaGlot's best-effort conversion of
|
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 PO language tag to the conventional Inno Setup language name (lang.lang).
|
||||||
and its officiality (lang.is_official). A language without an official base
|
The English source language maps to "Default" and languages unknown to
|
||||||
file - a community provided conventional name, or a language unknown to
|
MetaGlot convert to nothing; both fall back to "compiler:Default.isl" and
|
||||||
MetaGlot which converts to nothing - is dropped instead of falling back:
|
inherit the English language identity, so pair such a language with its base
|
||||||
every [Languages] entry inherits the language identity of its base file, and
|
file explicitly (e.g. via a "case" on "lang.name") when adding one. The
|
||||||
"compiler:Default.isl" carries the English identity, so a fallback entry
|
incremental custom messages file is named after the conventional name (or
|
||||||
would flood the setup language selection dialog with duplicate English
|
the PO language tag when no conventional name exists); keep it in sync with
|
||||||
items. To keep such a language, ship its base messages file with the
|
the "--isl-path" argument in CMakeLists.txt.
|
||||||
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 -%}
|
{% endcomment -%}
|
||||||
{% for lang in langs -%}
|
{% for lang in langs -%}
|
||||||
{%- if lang.is_official -%}
|
{%- if lang.lang and lang.lang != 'Default' -%}
|
||||||
{%- if lang.lang == 'Default' -%}
|
|
||||||
{% assign base = 'compiler:Default.isl' -%}
|
|
||||||
{%- else -%}
|
|
||||||
{% assign base = 'compiler:Languages\' | append: lang.lang | append: '.isl' -%}
|
{% assign base = 'compiler:Languages\' | append: lang.lang | append: '.isl' -%}
|
||||||
|
{%- else -%}
|
||||||
|
{% assign base = 'compiler:Default.isl' -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
Name: "{{ lang.name }}"; MessagesFile: "{{ base }},Strings\{{ lang.lang }}.isl"
|
{% assign incremental = lang.lang | default: lang.name -%}
|
||||||
{% else -%}
|
Name: "{{ lang.name }}"; MessagesFile: "{{ base }},Strings\{{ incremental }}.isl"
|
||||||
{%- comment -%}
|
|
||||||
unofficial or unmapped: dropped, since a Default.isl fallback would duplicate the English identity in the Select Language dialog
|
|
||||||
{%- endcomment -%}
|
|
||||||
{% endif -%}
|
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
@@ -99,9 +89,11 @@ Name: "associatewithfiles"; Description: "{cm:MyAssociateWithFiles,{#MyAppName}}
|
|||||||
; YYC MARK:
|
; YYC MARK:
|
||||||
; This script is compiled in place and retrieves the artifacts to be packaged
|
; This script is compiled in place and retrieves the artifacts to be packaged
|
||||||
; from the directory given by the "PublishDir" define, which must contain
|
; from the directory given by the "PublishDir" define, which must contain
|
||||||
; "scwpic.exe" and the "LICENSE" file. Otherwise exception will be thrown.
|
; "scwpic.exe", "vc_redist.x64.exe" and the "LICENSE" file. Otherwise
|
||||||
|
; exception will be thrown.
|
||||||
Source: "{#PublishDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#PublishDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#PublishDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
Source: "{#PublishDir}\*"; Excludes: "vc_redist.x64.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: "{#PublishDir}\vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
|
||||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
[Registry]
|
[Registry]
|
||||||
@@ -171,218 +163,218 @@ Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; Va
|
|||||||
; Per family: one ProgId shared by its extensions, always registered. Default
|
; Per family: one ProgId shared by its extensions, always registered. Default
|
||||||
; value and FriendlyTypeName both carry the indirect string; DefaultIcon
|
; value and FriendlyTypeName both carry the indirect string; DefaultIcon
|
||||||
; references the embedded icon by resource ID (101 app, 102 bmp, 103 gif,
|
; references the embedded icon by resource ID (101 app, 102 bmp, 103 gif,
|
||||||
; 104 jpg, 105 png, 106 svg). Only the OpenWithProgids line(s) at the end of each
|
; 104 jpg, 105 png). Only the OpenWithProgids line(s) at the end of each
|
||||||
; family block claim the actual association and are gated by the installer
|
; family block claim the actual association and are gated by the installer
|
||||||
; task "associatewithfiles".
|
; task "associatewithfiles".
|
||||||
|
|
||||||
; JPEG family (string 1001, icon 104)
|
; JPEG family (string 1001, icon 104)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1001"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\.jpg\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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\.jpeg\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.jfif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; GIF family (string 1002, icon 103)
|
; GIF family (string 1002, icon 103)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1002"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.gif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Gif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; PNG family (string 1003, icon 105)
|
; PNG family (string 1003, icon 105)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1003"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\.png\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.apng\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; SVG (string 1004, icon 106 - vector)
|
; SVG (string 1004, icon 105 - transparency capable)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1004"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Svg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Svg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.svg\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Svg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; WebP (string 1005, icon 105 - transparency capable)
|
; WebP (string 1005, icon 105 - transparency capable)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1005"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.webp\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Webp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; AVIF (string 1006, icon 105 - transparency capable)
|
; AVIF (string 1006, icon 105 - transparency capable)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1006"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.avif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Avif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; ICO (string 1007, icon 106 - icon format)
|
; ICO (string 1007, icon 105 - transparency capable)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1007"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Ico\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Ico"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.ico\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ico"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; ICNS (string 1008, icon 106 - icon format)
|
; ICNS (string 1008, icon 105 - transparency capable)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1008"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Icns\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Icns"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.icns\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Icns"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Photoshop family (string 1009, icon 102 - artwork)
|
; Photoshop family (string 1009, icon 102 - artwork)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1009"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\.psd\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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\.psb\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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\.pdd\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.psdt\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Krita (string 1010, icon 102 - artwork)
|
; Krita (string 1010, icon 102 - artwork)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1010"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.kra\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Kra"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; GIMP XCF (string 1011, icon 102 - artwork)
|
; GIMP XCF (string 1011, icon 102 - artwork)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1011"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.xcf\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Xcf"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; TARGA (string 1012, icon 106 - archaic)
|
; TARGA (string 1012, icon 102 - artwork)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1012"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Tga\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Tga"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.tga\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Tga"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; TIFF family (string 1013, icon 104 - photo)
|
; TIFF family (string 1013, icon 104 - photo)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1013"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\.tif\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.tiff\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; BMP (string 1014, icon 102)
|
; BMP (string 1014, icon 102)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1014"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.bmp\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Bmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Wireless BMP (string 1015, icon 102)
|
; Wireless BMP (string 1015, icon 102)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1015"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.wbmp\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Wbmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; DirectDraw Surface (string 1016, icon 102 - artwork)
|
; DirectDraw Surface (string 1016, icon 102 - artwork)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1016"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.dds\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Dds"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; HDR family incl. EXR (string 1017, icon 104 - photo)
|
; HDR family incl. EXR (string 1017, icon 104 - photo)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1017"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\.hdr\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.exr\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; IFF (string 1018, icon 106 - archaic)
|
; IFF (string 1018, icon 104 - fallback)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1018"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Iff\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Iff"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.iff\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Iff"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Softimage PIC (string 1019, icon 106 - archaic)
|
; Softimage PIC (string 1019, icon 104 - fallback)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1019"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Pic\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Pic"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.pic\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pic"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; PCX (string 1020, icon 106 - archaic)
|
; PCX (string 1020, icon 104 - fallback)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1020"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Pcx\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Pcx"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.pcx\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pcx"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; QOI (string 1021, icon 105 - transparency capable)
|
; QOI (string 1021, icon 105 - transparency capable)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1021"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.qoi\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Qoi"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Sun Raster family (string 1022, icon 106 - archaic)
|
; Sun Raster family (string 1022, icon 104 - fallback)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1022"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Ras\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
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: "SarasasChipWorkshop.Picture.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
|
||||||
|
|
||||||
; OpenRaster (string 1023, icon 102 - artwork)
|
; OpenRaster (string 1023, icon 102 - artwork)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1023"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.ora\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ora"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Animated Cursor (string 1024, icon 103 - animated)
|
; Animated Cursor (string 1024, icon 103 - animated)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1024"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.ani\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Ani"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Portable Float Map family (string 1025, icon 104 - photo/HDR)
|
; Portable Float Map family (string 1025, icon 104 - photo/HDR)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1025"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.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\.pfm\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.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
|
Root: HKA; Subkey: "Software\Classes\.phm\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Silicon Graphics family (string 1026, icon 106 - archaic)
|
; Silicon Graphics family (string 1026, icon 104 - fallback)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1026"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Rgb\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
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: "SarasasChipWorkshop.Picture.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: "SarasasChipWorkshop.Picture.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: "SarasasChipWorkshop.Picture.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
|
||||||
|
|
||||||
; Pixar (string 1027, icon 106 - archaic)
|
; Pixar (string 1027, icon 104 - fallback)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1027"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Pxr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Pxr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.pxr\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Pxr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
; Scitex CT (string 1028, icon 106 - archaic)
|
; Scitex CT (string 1028, icon 104 - fallback)
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1028"; Flags: uninsdeletekey
|
Root: HKA; Subkey: "Software\Classes\SarasaCWPicture.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\SarasaCWPicture.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\SarasaCWPicture.Sct\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
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: "SarasasChipWorkshop.Picture.Sct"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
Root: HKA; Subkey: "Software\Classes\.sct\OpenWithProgids"; ValueType: string; ValueName: "SarasaCWPicture.Sct"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
Name: "{group}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
Name: "{group}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||||
@@ -392,3 +384,4 @@ Name: "{autodesktop}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks:
|
|||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent
|
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
|
||||||
@@ -12,3 +12,7 @@ comment = "Group caption for the extra installer task options."
|
|||||||
[strings.MyAssociateWithFiles]
|
[strings.MyAssociateWithFiles]
|
||||||
msgid = "Associate %1 with its supported file types."
|
msgid = "Associate %1 with its supported file types."
|
||||||
comment = "Installer task description. %1 is the application name."
|
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."
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
# 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()
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 593 B |
|
Before Width: | Height: | Size: 942 B |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 650 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 666 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 663 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 332 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 756 B |
|
Before Width: | Height: | Size: 756 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |