Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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
@@ -0,0 +1,2 @@
|
||||
ko_fi: blumia
|
||||
custom: ["https://blumia.itch.io/pineapple-pictures"]
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
version: '6.12.0'
|
||||
version: '6.11.2'
|
||||
modules: 'qtimageformats'
|
||||
cache: true
|
||||
- name: Install Conan and Dependencies
|
||||
@@ -37,10 +37,9 @@ jobs:
|
||||
cmake --build --preset conan-release
|
||||
- name: Deploy
|
||||
run: |
|
||||
macdeployqt ./scwpic.app -dmg
|
||||
macdeployqt ./ppic.app -dmg
|
||||
ls
|
||||
- uses: actions/upload-artifact@v7
|
||||
- uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: "scwpic-macos-latest"
|
||||
name: "macos-bundle"
|
||||
path: "*.dmg"
|
||||
archive: false
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: REUSE Compliance Check
|
||||
uses: fsfe/reuse-action@v5
|
||||
@@ -3,6 +3,36 @@ name: Ubuntu CI
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
ubuntu-24-04-build:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: true
|
||||
- name: Install MetaGlot
|
||||
run: uv tool install git+https://github.com/SarasasChipWorkshop/metaglot.git
|
||||
- name: Get build dept.
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install cmake qt6-base-dev qt6-svg-dev qt6-tools-dev libexiv2-dev
|
||||
- name: Build it
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../
|
||||
make
|
||||
cpack -G DEB
|
||||
- name: Try install it
|
||||
run: |
|
||||
cd build
|
||||
sudo apt install ./*.deb
|
||||
- uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: ubuntu-24.04-deb-package
|
||||
path: build/*.deb
|
||||
|
||||
ubuntu-26-04-build:
|
||||
runs-on: ubuntu-26.04
|
||||
steps:
|
||||
@@ -28,8 +58,7 @@ jobs:
|
||||
run: |
|
||||
cd build
|
||||
sudo apt install ./*.deb
|
||||
- uses: actions/upload-artifact@v7
|
||||
- uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: scwpic-ubuntu-26.04
|
||||
name: ubuntu-26.04-deb-package
|
||||
path: build/*.deb
|
||||
archive: false
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- qt_ver: '6.12.0'
|
||||
- qt_ver: '6.11.2'
|
||||
vs: '2022'
|
||||
aqt_arch: 'win64_msvc2022_64'
|
||||
msvc_arch: 'x64'
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
modules: 'qtimageformats'
|
||||
cache: true
|
||||
# we need this until miurahr/aqtinstall#1007 ships 3.3.1 for Qt >= 6.11.0 for Windows.
|
||||
aqtsource: 'aqtinstall @ git+https://github.com/miurahr/aqtinstall@16db45a70b5905ad596941b223469bc86a56901e'
|
||||
aqtsource: 'aqtinstall @ git+https://github.com/miurahr/aqtinstall@16db45a70b5905ad596941b223469bc86a56901a'
|
||||
- name: Build
|
||||
shell: cmd
|
||||
run: |
|
||||
@@ -45,9 +45,9 @@ jobs:
|
||||
set CMAKE_PREFIX_PATH=%PWD%/dependencies_bin
|
||||
mkdir dependencies_src
|
||||
echo ::group::===== exiv2 =====
|
||||
curl -fsSL -o exiv2_bin.zip https://github.com/Exiv2/exiv2/releases/download/v0.28.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
|
||||
ren .\exiv2-0.28.9-2022msvc-AMD64 dependencies_bin
|
||||
ren .\exiv2-0.28.7-2022msvc-AMD64 dependencies_bin
|
||||
echo ::endgroup::
|
||||
echo ::group::===== zlib =====
|
||||
curl -fsSL -o zlib_src.zip https://github.com/madler/zlib/releases/download/v1.3.2/zlib132.zip
|
||||
@@ -57,21 +57,21 @@ jobs:
|
||||
cmake --build build_dependencies/zlib --config Release --target=install || goto :error
|
||||
echo ::endgroup::
|
||||
echo ::group::===== AOM for libavif AVI decoding support =====
|
||||
git clone -q -b v3.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 --build build_dependencies/aom --config Release --target=install || goto :error
|
||||
echo ::endgroup::
|
||||
echo ::group::===== libavif =====
|
||||
curl -fsSL -o libavif_src.zip https://github.com/AOMediaCodec/libavif/archive/v1.4.2.zip
|
||||
7z x libavif_src.zip -y -o"dependencies_src"
|
||||
ren .\dependencies_src\libavif-1.4.2 libavif || goto :error
|
||||
curl -fsSL -o libavif-v1_3_0.zip https://github.com/AOMediaCodec/libavif/archive/v1.3.0.zip
|
||||
7z x libavif-v1_3_0.zip -y -o"dependencies_src"
|
||||
ren .\dependencies_src\libavif-1.3.0 libavif || goto :error
|
||||
cmake ./dependencies_src/libavif -Bbuild_dependencies/libavif -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DAVIF_CODEC_AOM=SYSTEM -DAVIF_CODEC_AOM_DECODE=ON -DAVIF_CODEC_AOM_ENCODE=ON -DAVIF_LIBYUV=LOCAL || goto :error
|
||||
cmake --build build_dependencies/libavif --config Release --target=install || goto :error
|
||||
echo ::endgroup::
|
||||
echo ::group::===== expat =====
|
||||
curl -fsSL -o expat_src.zip https://github.com/libexpat/libexpat/archive/R_2_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"
|
||||
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 --build build_dependencies/expat --config Release --target=install || goto :error
|
||||
echo ::endgroup::
|
||||
@@ -91,50 +91,24 @@ jobs:
|
||||
cmake --build build_dependencies/kimageformats --config Release --target=install || goto :error
|
||||
echo ::endgroup::
|
||||
:: ------ app ------
|
||||
echo ::group::===== App Build =====
|
||||
:: YYC MARK: The GitHub runner preinstalls Inno Setup 6.7.1; align the metaglot
|
||||
:: inno rendering with it via the Inno Setup version cache variable.
|
||||
:: May remove or change it once GitHub updates its preinstalls to Inno Setup 7 series.
|
||||
cmake -Bbuild . -DINNO_SETUP_VERSION=6 || goto :error
|
||||
echo ::group::===== App (Build'n'Install) =====
|
||||
cmake -Bbuild . || goto :error
|
||||
cmake --build build --config Release || goto :error
|
||||
cmake --install build --config Release --prefix "%PWD%\build" || goto :error
|
||||
echo ::endgroup::
|
||||
:: ------ pkg ------
|
||||
windeployqt --verbose=2 --no-compiler-runtime --no-quick-import --no-translations --no-network --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\scwpic.exe
|
||||
windeployqt --verbose=2 --no-compiler-runtime --no-quick-import --no-translations --no-network --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\ppic.exe
|
||||
robocopy ./dependencies_bin/bin build/bin *.dll
|
||||
if ErrorLevel 8 goto :error
|
||||
copy LICENSE build\bin
|
||||
mkdir pack
|
||||
echo ::group::===== App InnoSetup Pack =====
|
||||
mkdir pack\inno
|
||||
iscc "/DPublishDir=%CD%\build\bin" "/DOutputDir=%CD%\pack\inno" build\inno-metadata\scwpic.iss || goto :error
|
||||
echo ::endgroup::
|
||||
echo ::group::===== App MSIX Pack =====
|
||||
mkdir pack\msix\staging
|
||||
robocopy build\msix-metadata pack\msix\staging AppxManifest.xml
|
||||
copy build\inno-metadata\ppic.iss build\bin\ppic.iss
|
||||
robocopy build\inno-metadata\Strings build\bin\Strings
|
||||
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::
|
||||
iscc /Q build\bin\ppic.iss || goto :error
|
||||
exit /B 0
|
||||
:error
|
||||
exit /B 1
|
||||
- uses: actions/upload-artifact@v7
|
||||
- uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake-setup"
|
||||
path: pack/inno/scwpic-setup.exe
|
||||
archive: false
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: "scwpic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake"
|
||||
path: pack/msix/scwpic.msix
|
||||
archive: false
|
||||
|
||||
name: "ppic-windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake-setup"
|
||||
path: build/bin/ppic-setup.exe
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(sarasacw-picture VERSION 1.6.0) # don't forget to update NEWS file and AppStream metadata.
|
||||
project(pineapple-pictures VERSION 1.6.0) # don't forget to update NEWS file and AppStream metadata.
|
||||
|
||||
include(GNUInstallDirs)
|
||||
include(FeatureSummary)
|
||||
@@ -20,7 +20,7 @@ set (CMAKE_AUTOUIC ON)
|
||||
|
||||
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
|
||||
COMPONENTS Widgets Svg SvgWidgets LinguistTools
|
||||
@@ -37,7 +37,7 @@ if (EXIV2_METADATA_SUPPORT)
|
||||
)
|
||||
endif ()
|
||||
|
||||
set (SCWPIC_CPP_FILES
|
||||
set (PPIC_CPP_FILES
|
||||
app/main.cpp
|
||||
app/mainwindow.cpp
|
||||
app/actionmanager.cpp
|
||||
@@ -58,7 +58,7 @@ set (SCWPIC_CPP_FILES
|
||||
app/playlistscouts/explorerscout.cpp
|
||||
)
|
||||
|
||||
set (SCWPIC_HEADER_FILES
|
||||
set (PPIC_HEADER_FILES
|
||||
app/mainwindow.h
|
||||
app/actionmanager.h
|
||||
app/graphicsview.h
|
||||
@@ -78,57 +78,57 @@ set (SCWPIC_HEADER_FILES
|
||||
app/playlistscouts/explorerscout.h
|
||||
)
|
||||
|
||||
set (SCWPIC_UI_FILES
|
||||
set (PPIC_UI_FILES
|
||||
app/settingsdialog.ui
|
||||
app/aboutdialog.ui
|
||||
app/metadatadialog.ui
|
||||
app/mainwindow.ui
|
||||
)
|
||||
|
||||
set (SCWPIC_QRC_FILES
|
||||
set (PPIC_QRC_FILES
|
||||
assets/resources.qrc
|
||||
)
|
||||
|
||||
set (SCWPIC_RC_FILES
|
||||
set (PPIC_RC_FILES
|
||||
# yeah, it's empty.
|
||||
)
|
||||
|
||||
set (EXE_NAME scwpic)
|
||||
set (EXE_NAME ppic)
|
||||
|
||||
# Translation
|
||||
file (GLOB SCWPIC_TS_FILES locales/app/*.ts)
|
||||
set (SCWPIC_CPP_FILES_FOR_I18N ${SCWPIC_CPP_FILES})
|
||||
file (GLOB PPIC_TS_FILES locales/app/*.ts)
|
||||
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})
|
||||
|
||||
find_program (METAGLOT_EXECUTABLE metaglot)
|
||||
if (NOT METAGLOT_EXECUTABLE)
|
||||
message (FATAL_ERROR "metaglot is required to render the localized metadata, install it from https://github.com/SarasasChipWorkshop/metaglot")
|
||||
find_program (UV_EXECUTABLE uv)
|
||||
if (NOT UV_EXECUTABLE)
|
||||
message (FATAL_ERROR "uv is required to run the metaglot tool, install it from https://docs.astral.sh/uv/")
|
||||
endif ()
|
||||
|
||||
if (WIN32)
|
||||
# Setup Windows RC files
|
||||
set (SCWPIC_RC_TEMPLATE_FILE ${CMAKE_CURRENT_BINARY_DIR}/sarasacw-picture.rc.in)
|
||||
set (PPIC_RC_TEMPLATE_FILE ${CMAKE_CURRENT_BINARY_DIR}/pineapple-pictures.rc.in)
|
||||
execute_process (
|
||||
COMMAND ${METAGLOT_EXECUTABLE} render rc
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/sarasacw-picture.rc.in.toml
|
||||
COMMAND ${UV_EXECUTABLE} tool run metaglot render rc
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/pineapple-pictures.rc.in.toml
|
||||
--po ${CMAKE_SOURCE_DIR}/locales/winrc/*.po
|
||||
--template ${CMAKE_SOURCE_DIR}/dist/sarasacw-picture.rc.in.liquid
|
||||
--output ${SCWPIC_RC_TEMPLATE_FILE}
|
||||
--template ${CMAKE_SOURCE_DIR}/dist/pineapple-pictures.rc.in.liquid
|
||||
--output ${PPIC_RC_TEMPLATE_FILE}
|
||||
RESULT_VARIABLE METAGLOT_RESULT
|
||||
)
|
||||
if (NOT METAGLOT_RESULT EQUAL 0)
|
||||
message (FATAL_ERROR "Failed to generate Windows RC file template via MetaGlot (exit code: ${METAGLOT_RESULT}).")
|
||||
endif ()
|
||||
|
||||
configure_file (${SCWPIC_RC_TEMPLATE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/sarasacw-picture.rc @ONLY)
|
||||
list (APPEND SCWPIC_RC_FILES ${CMAKE_CURRENT_BINARY_DIR}/sarasacw-picture.rc)
|
||||
configure_file (${PPIC_RC_TEMPLATE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/pineapple-pictures.rc @ONLY)
|
||||
list (APPEND PPIC_RC_FILES ${CMAKE_CURRENT_BINARY_DIR}/pineapple-pictures.rc)
|
||||
endif ()
|
||||
|
||||
add_executable (${EXE_NAME}
|
||||
${SCWPIC_HEADER_FILES}
|
||||
${SCWPIC_CPP_FILES}
|
||||
${SCWPIC_UI_FILES}
|
||||
${SCWPIC_QRC_FILES}
|
||||
${SCWPIC_RC_FILES}
|
||||
${PPIC_HEADER_FILES}
|
||||
${PPIC_CPP_FILES}
|
||||
${PPIC_UI_FILES}
|
||||
${PPIC_QRC_FILES}
|
||||
${PPIC_RC_FILES}
|
||||
)
|
||||
|
||||
set(ADD_TRANSLATIONS_ADDITIONAL_ARGS)
|
||||
@@ -138,24 +138,17 @@ if (Qt6_VERSION VERSION_GREATER_EQUAL "6.9.0")
|
||||
endif()
|
||||
|
||||
if (TRANSLATION_RESOURCE_EMBEDDING)
|
||||
qt_add_translations(${EXE_NAME} ${ADD_TRANSLATIONS_ADDITIONAL_ARGS} TS_FILES ${SCWPIC_TS_FILES})
|
||||
qt_add_translations(${EXE_NAME} ${ADD_TRANSLATIONS_ADDITIONAL_ARGS} TS_FILES ${PPIC_TS_FILES})
|
||||
else()
|
||||
qt_add_translations(${EXE_NAME} ${ADD_TRANSLATIONS_ADDITIONAL_ARGS} TS_FILES ${SCWPIC_TS_FILES} QM_FILES_OUTPUT_VARIABLE SCWPIC_QM_FILES)
|
||||
qt_add_translations(${EXE_NAME} ${ADD_TRANSLATIONS_ADDITIONAL_ARGS} TS_FILES ${PPIC_TS_FILES} QM_FILES_OUTPUT_VARIABLE PPIC_QM_FILES)
|
||||
endif()
|
||||
|
||||
# YYC MARK:
|
||||
# We use this to disable that Qt UIC generate code like `QMetaObject::connectSlotsByName(foobar);`
|
||||
# for the header file of `.ui` file, which cause this application outputs log at runtime like
|
||||
# `qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionXxx_triggered()`,
|
||||
# because we only use UIC for building user interface and all signals and actions are managed by ourselves.
|
||||
set_target_properties(${EXE_NAME} PROPERTIES AUTOUIC_OPTIONS "-a")
|
||||
|
||||
# YYC MARK:
|
||||
# This is essential, otherwise Qt UIC generated UI header file
|
||||
# can not find our header files if there are custom widgets inside UI file.
|
||||
target_include_directories(${EXE_NAME} PRIVATE app/)
|
||||
|
||||
target_sources(${EXE_NAME} PRIVATE ${SCWPIC_QM_FILES})
|
||||
target_sources(${EXE_NAME} PRIVATE ${PPIC_QM_FILES})
|
||||
|
||||
target_link_libraries (${EXE_NAME} Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Svg Qt${QT_VERSION_MAJOR}::SvgWidgets)
|
||||
|
||||
@@ -189,7 +182,7 @@ if (WIN32)
|
||||
endif ()
|
||||
|
||||
# Helper macros for parsing and setting project version from `git describe --long` result
|
||||
macro (scwpic_set_version_via_describe _describe_long)
|
||||
macro (ppic_set_version_via_describe _describe_long)
|
||||
string (
|
||||
REGEX REPLACE
|
||||
"^([0-9a-z.]*)-[0-9]+-g[0-9a-f]*$"
|
||||
@@ -213,7 +206,7 @@ macro (scwpic_set_version_via_describe _describe_long)
|
||||
endmacro ()
|
||||
|
||||
# Version setup
|
||||
target_compile_definitions(${EXE_NAME} PRIVATE SCWPIC_VERSION_STRING="${CMAKE_PROJECT_VERSION}")
|
||||
target_compile_definitions(${EXE_NAME} PRIVATE PPIC_VERSION_STRING="${CMAKE_PROJECT_VERSION}")
|
||||
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
|
||||
find_package(Git)
|
||||
set_package_properties(Git PROPERTIES TYPE OPTIONAL PURPOSE "Determine exact build version.")
|
||||
@@ -224,7 +217,7 @@ if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
|
||||
OUTPUT_VARIABLE _git_describe_long
|
||||
)
|
||||
string (REGEX REPLACE "\n" "" _git_describe_long "${_git_describe_long}")
|
||||
scwpic_set_version_via_describe(${_git_describe_long})
|
||||
ppic_set_version_via_describe(${_git_describe_long})
|
||||
target_compile_definitions(${EXE_NAME} PRIVATE
|
||||
GIT_DESCRIBE_VERSION_STRING="${_git_describe_long}"
|
||||
)
|
||||
@@ -238,70 +231,49 @@ if (WIN32)
|
||||
)
|
||||
|
||||
# Setup Inno Setup script file
|
||||
set (INNO_SETUP_VERSION "7" CACHE STRING "Major version of Inno Setup that packages the installer; decides which language files count as official in the metaglot inno rendering.")
|
||||
set_property (CACHE INNO_SETUP_VERSION PROPERTY STRINGS 6 7)
|
||||
set (SCWPIC_INNO_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/inno-metadata)
|
||||
set (PPIC_INNO_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/inno-metadata)
|
||||
execute_process (
|
||||
COMMAND ${METAGLOT_EXECUTABLE} render inno
|
||||
--inno-version ${INNO_SETUP_VERSION}
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.toml
|
||||
COMMAND ${UV_EXECUTABLE} tool run metaglot render inno
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/ppic.iss.in.toml
|
||||
--po ${CMAKE_SOURCE_DIR}/locales/inno/*.po
|
||||
--iss-template ${CMAKE_SOURCE_DIR}/dist/scwpic.iss.in.liquid
|
||||
--isl-template ${CMAKE_SOURCE_DIR}/dist/scwpic.isl.liquid
|
||||
--iss-path scwpic.iss.in
|
||||
--isl-path "Strings/{{ lang | default: name }}.isl"
|
||||
--output ${SCWPIC_INNO_OUTPUT_DIR}
|
||||
--iss-template ${CMAKE_SOURCE_DIR}/dist/ppic.iss.in.liquid
|
||||
--isl-template ${CMAKE_SOURCE_DIR}/dist/ppic.isl.liquid
|
||||
--iss-path ppic.iss.in
|
||||
--isl-path "Strings/{{ lang }}.isl"
|
||||
--output ${PPIC_INNO_OUTPUT_DIR}
|
||||
RESULT_VARIABLE METAGLOT_INNO_RESULT
|
||||
)
|
||||
if (NOT METAGLOT_INNO_RESULT EQUAL 0)
|
||||
message (FATAL_ERROR "Failed to render Inno Setup script via MetaGlot (exit code: ${METAGLOT_INNO_RESULT}).")
|
||||
endif ()
|
||||
configure_file (${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss.in ${SCWPIC_INNO_OUTPUT_DIR}/scwpic.iss @ONLY)
|
||||
|
||||
# Setup MSIX metadata.
|
||||
set (SCWPIC_MSIX_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/msix-metadata)
|
||||
execute_process (
|
||||
COMMAND ${METAGLOT_EXECUTABLE} render msix
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/AppxManifest.xml.in.toml
|
||||
--po ${CMAKE_SOURCE_DIR}/locales/msix/*.po
|
||||
--manifest-template ${CMAKE_SOURCE_DIR}/dist/AppxManifest.xml.in.liquid
|
||||
--resources-template ${CMAKE_SOURCE_DIR}/dist/Resources.resjson.liquid
|
||||
--manifest-path AppxManifest.xml.in
|
||||
--resources-path "Strings/{{ lang }}/Resources.resjson"
|
||||
--output ${SCWPIC_MSIX_OUTPUT_DIR}
|
||||
RESULT_VARIABLE METAGLOT_MSIX_RESULT
|
||||
)
|
||||
if (NOT METAGLOT_MSIX_RESULT EQUAL 0)
|
||||
message (FATAL_ERROR "Failed to render MSIX metadata via MetaGlot (exit code: ${METAGLOT_MSIX_RESULT}).")
|
||||
endif ()
|
||||
configure_file (${SCWPIC_MSIX_OUTPUT_DIR}/AppxManifest.xml.in ${SCWPIC_MSIX_OUTPUT_DIR}/AppxManifest.xml @ONLY)
|
||||
configure_file (${PPIC_INNO_OUTPUT_DIR}/ppic.iss.in ${PPIC_INNO_OUTPUT_DIR}/ppic.iss @ONLY)
|
||||
elseif (APPLE)
|
||||
# Include icon to project
|
||||
set_source_files_properties(dist/macos-icons/sarasacw-picture.icns PROPERTIES
|
||||
set_source_files_properties(dist/sarasacw-picture.icns PROPERTIES
|
||||
MACOSX_PACKAGE_LOCATION "Resources"
|
||||
)
|
||||
target_sources(${EXE_NAME} PRIVATE dist/macos-icons/sarasacw-picture.icns)
|
||||
target_sources(${EXE_NAME} PRIVATE dist/sarasacw-picture.icns)
|
||||
|
||||
# Setup Info.plist related directory.
|
||||
set (SCWPIC_PLIST_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/plist-metadata)
|
||||
set (PPIC_PLIST_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/plist-metadata)
|
||||
# Render Info.plist and its strings.
|
||||
execute_process (
|
||||
COMMAND ${METAGLOT_EXECUTABLE} render plist
|
||||
COMMAND ${UV_EXECUTABLE} tool run metaglot render plist
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/Info.plist.in.toml
|
||||
--po ${CMAKE_SOURCE_DIR}/locales/plist/*.po
|
||||
--plist-template ${CMAKE_SOURCE_DIR}/dist/Info.plist.in.liquid
|
||||
--strings-template ${CMAKE_SOURCE_DIR}/dist/InfoPlist.strings.liquid
|
||||
--plist-path Info.plist.in
|
||||
--strings-path "Resources/{{ lang }}.lproj/InfoPlist.strings"
|
||||
--output ${SCWPIC_PLIST_OUTPUT_DIR}
|
||||
--output ${PPIC_PLIST_OUTPUT_DIR}
|
||||
RESULT_VARIABLE METAGLOT_PLIST_RESULT
|
||||
)
|
||||
if (NOT METAGLOT_PLIST_RESULT EQUAL 0)
|
||||
message (FATAL_ERROR "Failed to render Info.plist metadata via MetaGlot (exit code: ${METAGLOT_PLIST_RESULT}).")
|
||||
endif ()
|
||||
# Include these to project.
|
||||
file (GLOB SCWPIC_PLIST_STRINGS_FILES ${SCWPIC_PLIST_OUTPUT_DIR}/Resources/*.lproj/InfoPlist.strings)
|
||||
foreach (plist_strings_file ${SCWPIC_PLIST_STRINGS_FILES})
|
||||
file (GLOB PPIC_PLIST_STRINGS_FILES ${PPIC_PLIST_OUTPUT_DIR}/Resources/*.lproj/InfoPlist.strings)
|
||||
foreach (plist_strings_file ${PPIC_PLIST_STRINGS_FILES})
|
||||
get_filename_component (plist_lproj_dir ${plist_strings_file} DIRECTORY)
|
||||
get_filename_component (plist_lproj_name ${plist_lproj_dir} NAME)
|
||||
set_source_files_properties (${plist_strings_file} PROPERTIES
|
||||
@@ -312,9 +284,9 @@ elseif (APPLE)
|
||||
# See https://cmake.org/cmake/help/v3.15/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.html
|
||||
set_target_properties(${EXE_NAME} PROPERTIES
|
||||
MACOSX_BUNDLE TRUE
|
||||
MACOSX_BUNDLE_INFO_PLIST ${SCWPIC_PLIST_OUTPUT_DIR}/Info.plist.in
|
||||
MACOSX_BUNDLE_INFO_STRING "${PROJECT_VERSION}, Copyright (C) 2026 Sarasa's Chip Workshop"
|
||||
MACOSX_BUNDLE_GUI_IDENTIFIER org.sarasaschipworkshop.picture
|
||||
MACOSX_BUNDLE_INFO_PLIST ${PPIC_PLIST_OUTPUT_DIR}/Info.plist.in
|
||||
MACOSX_BUNDLE_INFO_STRING "${PROJECT_VERSION}, Copyright (C) 2026 Gary Wang"
|
||||
MACOSX_BUNDLE_GUI_IDENTIFIER net.blumia.pineapple-pictures
|
||||
MACOSX_BUNDLE_ICON_FILE sarasacw-picture.icns # contains the .icns file name, *without* the path.
|
||||
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
||||
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
|
||||
@@ -331,13 +303,13 @@ elseif (UNIX)
|
||||
)
|
||||
|
||||
# generate and install desktop entry file
|
||||
set (SCWPIC_DESKTOP_FILE ${CMAKE_CURRENT_BINARY_DIR}/org.sarasaschipworkshop.picture.desktop)
|
||||
set (PPIC_DESKTOP_FILE ${CMAKE_CURRENT_BINARY_DIR}/net.blumia.pineapple-pictures.desktop)
|
||||
execute_process (
|
||||
COMMAND ${METAGLOT_EXECUTABLE} render desktop
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/org.sarasaschipworkshop.picture.desktop.toml
|
||||
COMMAND ${UV_EXECUTABLE} tool run metaglot render desktop
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/net.blumia.pineapple-pictures.desktop.toml
|
||||
--po ${CMAKE_SOURCE_DIR}/locales/desktop/*.po
|
||||
--template ${CMAKE_SOURCE_DIR}/dist/org.sarasaschipworkshop.picture.desktop.liquid
|
||||
--output ${SCWPIC_DESKTOP_FILE}
|
||||
--template ${CMAKE_SOURCE_DIR}/dist/net.blumia.pineapple-pictures.desktop.liquid
|
||||
--output ${PPIC_DESKTOP_FILE}
|
||||
RESULT_VARIABLE METAGLOT_DESKTOP_RESULT
|
||||
)
|
||||
if (NOT METAGLOT_DESKTOP_RESULT EQUAL 0)
|
||||
@@ -345,18 +317,18 @@ elseif (UNIX)
|
||||
endif ()
|
||||
|
||||
install (
|
||||
FILES ${SCWPIC_DESKTOP_FILE}
|
||||
FILES ${PPIC_DESKTOP_FILE}
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications"
|
||||
)
|
||||
|
||||
# generate and install app metadata file for appstream (and some other stuff using this metadata like snapcraft)
|
||||
set (SCWPIC_METAINFO_FILE ${CMAKE_CURRENT_BINARY_DIR}/org.sarasaschipworkshop.picture.metainfo.xml)
|
||||
set (PPIC_METAINFO_FILE ${CMAKE_CURRENT_BINARY_DIR}/net.blumia.pineapple-pictures.metainfo.xml)
|
||||
execute_process (
|
||||
COMMAND ${METAGLOT_EXECUTABLE} render appstream
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/org.sarasaschipworkshop.picture.metainfo.xml.toml
|
||||
COMMAND ${UV_EXECUTABLE} tool run metaglot render appstream
|
||||
--manifest ${CMAKE_SOURCE_DIR}/dist/net.blumia.pineapple-pictures.metainfo.xml.toml
|
||||
--po ${CMAKE_SOURCE_DIR}/locales/appstream/*.po
|
||||
--template ${CMAKE_SOURCE_DIR}/dist/org.sarasaschipworkshop.picture.metainfo.xml.liquid
|
||||
--output ${SCWPIC_METAINFO_FILE}
|
||||
--template ${CMAKE_SOURCE_DIR}/dist/net.blumia.pineapple-pictures.metainfo.xml.liquid
|
||||
--output ${PPIC_METAINFO_FILE}
|
||||
RESULT_VARIABLE METAGLOT_METAINFO_RESULT
|
||||
)
|
||||
if (NOT METAGLOT_METAINFO_RESULT EQUAL 0)
|
||||
@@ -364,7 +336,7 @@ elseif (UNIX)
|
||||
endif ()
|
||||
|
||||
install (
|
||||
FILES ${SCWPIC_METAINFO_FILE}
|
||||
FILES ${PPIC_METAINFO_FILE}
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo"
|
||||
)
|
||||
endif()
|
||||
@@ -388,7 +360,7 @@ if (TRANSLATION_RESOURCE_EMBEDDING)
|
||||
elseif (WIN32)
|
||||
set (QM_FILE_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}/translations")
|
||||
else()
|
||||
set (QM_FILE_INSTALL_DIR "${CMAKE_INSTALL_FULL_DATADIR}/sarasacw-picture/translations")
|
||||
set (QM_FILE_INSTALL_DIR "${CMAKE_INSTALL_FULL_DATADIR}/pineapple-pictures/translations")
|
||||
target_compile_definitions(${EXE_NAME}
|
||||
PRIVATE QM_FILE_INSTALL_ABSOLUTE_DIR=${QM_FILE_INSTALL_DIR}
|
||||
)
|
||||
@@ -396,7 +368,7 @@ endif()
|
||||
|
||||
if (DEFINED QM_FILE_INSTALL_DIR)
|
||||
install(
|
||||
FILES ${SCWPIC_QM_FILES}
|
||||
FILES ${PPIC_QM_FILES}
|
||||
DESTINATION ${QM_FILE_INSTALL_DIR}
|
||||
)
|
||||
endif()
|
||||
@@ -404,10 +376,10 @@ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAG
|
||||
|
||||
# CPACK: General Settings
|
||||
set (CPACK_GENERATOR "TBZ2")
|
||||
set (CPACK_PACKAGE_NAME "sarasacw-picture")
|
||||
set (CPACK_PACKAGE_NAME "pineapple-pictures")
|
||||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Yet another image viewer")
|
||||
set (CPACK_PACKAGE_VENDOR "Sarasa's Chip Workshop")
|
||||
set (CPACK_PACKAGE_CONTACT "https://github.com/SarasasChipWorkshop/sarasacw-picture/issues/")
|
||||
set (CPACK_PACKAGE_VENDOR "Gary Wang")
|
||||
set (CPACK_PACKAGE_CONTACT "https://github.com/BLumia/pineapple-pictures/issues/")
|
||||
if (WIN32)
|
||||
# ...
|
||||
elseif (APPLE)
|
||||
|
||||
@@ -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,7 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 BLumia
|
||||
Copyright (c) 2026 Sarasa's Chip Workshop
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1,59 +1,86 @@
|
||||
# Sarasa's Chip Workshop Photo Viewer
|
||||
|
||||
> [!IMPORTANT]
|
||||
> SCW Photo Viewer is still in refactoring. Please do not use it until this message removes.
|
||||
# Sarasas Chip Workshop Picture
|
||||
|
||||
Yet another legacy Windows Photo Viewer with cross-platform support.
|
||||
|
||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/windows.yml)
|
||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
|
||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
|
||||
|
||||

|
||||
> [!IMPORTANT]
|
||||
> SarasaCW Picture are still in refactoring. Please do not use it until this message removes.
|
||||
|
||||
## Summary
|
||||
|
||||
Sarasa's Chip Workshop Photo Viewer (abbr. SCW Photo Viewer) is a lightweight image viewer that has cross-platform support and similar user interface about legacy Windows Photo Viewer. It allows you view JPEG, PNG, GIF, SVG, PSD, KRA, XCF, TGA, HDR, AVIF and some other frequently used image formats files quickly and easily without changing your long-term Windows usage experience.
|
||||
Sarasas Chip Workshop Picture (abbr. SarasaCW Picture) is a lightweight image viewer that has cross-platform support and similar user interface about legacy Windows Photo Viewer. It allows you view JPEG, PNG, GIF, SVG, PSD, KRA, XCF, TGA, HDR, AVIF and some other frequently used image formats files quickly and easily without changing your long-term Windows usage experience.
|
||||
|
||||
SCW Photo Viewer is the **hard fork** of [Pineapple Pictures](https://github.com/BLumia/pineapple-pictures) since Pineapple Pictures 1.4.1 version.
|
||||
SarasaCW Picture is the **hard fork** of [Pineapple Pictures](https://github.com/BLumia/pineapple-pictures) since Pineapple Pictures 1.4.1 version.
|
||||
|
||||
## Installation
|
||||
<!--
|
||||
|
||||
Download from the places maintained by the author of this repository:
|
||||
|CI|Build Status|
|
||||
|---|---|
|
||||
|Windows Build|[](https://github.com/BLumia/pineapple-pictures/actions/workflows/windows.yml)|
|
||||
|macOS Build|[](https://github.com/BLumia/pineapple-pictures/actions/workflows/macos.yml)|
|
||||
|Ubuntu Build|[](https://github.com/BLumia/pineapple-pictures/actions/workflows/ubuntu.yml)|
|
||||
|
||||
- [GitHub Release Page](https://github.com/SarasasChipWorkshop/sarasacw-picture/releases)
|
||||

|
||||
|
||||
## Get it!
|
||||
|
||||
### Maintained by the original author
|
||||
|
||||
- [GitHub Release Page](https://github.com/BLumia/pineapple-pictures/releases)
|
||||
- [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
|
||||
- Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
|
||||
- [Itch.io Store](https://blumia.itch.io/pineapple-pictures)
|
||||
- [Microsoft Store](https://apps.microsoft.com/store/detail/9MXGX66VVGJP)
|
||||
- Flatpak (on FlatHub): [net.blumia.pineapple-pictures](https://flathub.org/apps/net.blumia.pineapple-pictures) *([Should I use the flatpak version?](https://github.com/BLumia/pineapple-pictures/wiki/Container%E2%80%90based-Packaging-Solutions-Support))*
|
||||
|
||||
### Maintained by contributors / certain distro's package maintainers
|
||||
|
||||
[](https://repology.org/project/pineapple-pictures/versions)
|
||||
|
||||
## Contribution
|
||||
|
||||
The new feature request of this application are freezed now because this application basically is a replica of legacy Windows Photo Viewer with additional cross-platform support. However, bug report and translation are welcome.
|
||||
Beside feedback and code contribution, other contributions are also welcome!
|
||||
|
||||
## Build Instruction
|
||||
### Help Translation!
|
||||
|
||||
[Translate this project on Weblate!](https://hosted.weblate.org/projects/pineapple-pictures/)
|
||||
|
||||
### Funding
|
||||
|
||||
[](https://ko-fi.com/blumia)
|
||||
|
||||
[Afdian](https://afdian.com/a/BLumia)
|
||||
|
||||
## Build it manually:
|
||||
|
||||
Current state, we need:
|
||||
|
||||
- `cmake`: as the build system.
|
||||
- `python3` and [`metaglot`](https://github.com/SarasasChipWorkshop/metaglot): as the metadata localization processor. An isolated install via `uv tool` (as opposed to a global install like pip) is recommended.
|
||||
- `qt6` with `qt6-svg` and `qt6-tools`: since the app is using Qt.
|
||||
- `libexiv2`: able to display more image metadata. (optional, but recommended)
|
||||
|
||||
Then we can build it with any proper C++ compiler like g++ or MSVC.
|
||||
Then we can build it with any proper c++ compiler like g++ or msvc.
|
||||
|
||||
Building it just requires normal cmake building steps:
|
||||
|
||||
``` bash
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ cmake --build .
|
||||
$ cmake --build . # or simply using `make` if you are using Makefile as the cmake generator.
|
||||
```
|
||||
|
||||
After that, a `scwpic` executable file will be available to use. You can also optionally install it by using the target `install`. After the build process, you can also use `cpack` to make a package.
|
||||
After that, a `ppic` executable file will be available to use. You can also optionally install it by using the target `install` (or simply `make install` in case you are using Makefile). After the build process, you can also use `cpack` to make a package.
|
||||
|
||||
The project will try to build with `exiv2` when it's available at build time, if you would like to build the project without `exiv2`, pass `-DEXIV2_METADATA_SUPPORT=OFF` to `cmake`. The project will also not use `exiv2` if it's not found, the `EXIV2_METADATA_SUPPORT` option can be useful if you have `exiv2` but specifically don't want to use it.
|
||||
|
||||
Image formats supports rely on Qt's imageformats plugins, just get the plugins you need from your distro's package manager will be fine. For Windows user, you may need build and install the imageformats plugin manually, read the content below.
|
||||
|
||||
It's possible to build it under Windows, Linux, macOS, and maybe other desktop platforms that Qt is ported to.
|
||||
It's possible to build it under Windows, Linux, macOS, and maybe other desktop platforms that Qt is ported to. For platform specific build instructions, please read the [related wiki page](https://github.com/BLumia/pineapple-pictures/wiki/Platform-Specific-Build-Instructions).
|
||||
|
||||
> [!NOTE]
|
||||
> Although there is a `pineapple-pictures.pro` file which can be used for QMake build, it's only for testing purpose and it doesn't have `exiv2` support included. Using QMake to build this project is NOT supported, please use CMake if possible.
|
||||
|
||||
## License
|
||||
|
||||
SCW Photo Viewer as a whole is licensed under MIT license. Individual files may have a different, but compatible license.
|
||||
Pineapple Pictures as a whole is licensed under MIT license. Individual files may have a different, but compatible license.
|
||||
|
||||
-->
|
||||
@@ -1,59 +0,0 @@
|
||||
# Sarasa's Chip Workshop 照片查看器
|
||||
|
||||
> [!IMPORTANT]
|
||||
> SCW 照片查看器还在重构中。在这条信息被移除之前请不要使用它。
|
||||
|
||||
跨平台的、经典 Windows 照片查看器样式的照片查看器。
|
||||
|
||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/windows.yml)
|
||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/macos.yml)
|
||||
[](https://github.com/SarasasChipWorkshop/sarasacw-picture/actions/workflows/ubuntu.yml)
|
||||
|
||||

|
||||
|
||||
## 简介
|
||||
|
||||
Sarasa's Chip Workshop 照片查看器(简称 SCW 照片查看器)是一个轻量级的图片查看器。支持跨平台。界面风格类似于经典的 Windows 照片查看器。它可以让你快速轻松地浏览 JPEG、PNG、GIF、SVG、PSD、KRA、XCF、TGA、HDR、AVIF 以及其他一些常用的图片格式,且无需改变你长期的 Windows 使用习惯。
|
||||
|
||||
SCW 照片查看器是[菠萝看图](https://github.com/BLumia/pineapple-pictures)的**硬分叉**,该分叉自菠萝看图 1.4.1 版本开始。
|
||||
|
||||
## 安装
|
||||
|
||||
从本仓库作者维护的地方下载:
|
||||
|
||||
- [GitHub Release 页面](https://github.com/SarasasChipWorkshop/sarasacw-picture/releases)
|
||||
|
||||
## 参与贡献
|
||||
|
||||
现在已冻结该应用的新功能请求,因为这个应用基本上是经典样式的 Windows 照片查看器的复刻,只是增加了跨平台支持。不过仍然欢迎针对该项目的错误报告和翻译。
|
||||
|
||||
## 构建指导
|
||||
|
||||
当前状态,我们需要先确保如下依赖可用:
|
||||
|
||||
- `cmake`:我们所使用的构建系统
|
||||
- `python3` 和 [`metaglot`](https://github.com/SarasasChipWorkshop/metaglot):我们所使用的元数据本地化处理器,推荐使用 `uv tool` 进行隔离式安装(相较于 pip 那种全局式安装)
|
||||
- 包含 `qt6-svg` 与 `qt6-tools` 组件的 `qt6`:此应用基于 Qt
|
||||
- `libexiv2`:用以获取和显示更多的图像元信息(可选,推荐)
|
||||
|
||||
然后我们就可以使用任何常规的 C++ 编译器如 g++ 或 MSVC 来进行构建了
|
||||
|
||||
构建过程就是常规的 CMake 应用构建过程:
|
||||
|
||||
``` bash
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ cmake --build . # 如果你使用 Makefile 作为 CMake 生成器,也可以直接简单的使用 `make`
|
||||
```
|
||||
|
||||
完毕后,一个名为 `scwpic` 的可执行程序即会被生成以供使用。您也可以选择通过使用 CMake 生成的 `install` 目标继续将其安装到您的设备上。构建步骤完毕后,您也可以使用 `cpack` 来对应用程序进行打包。
|
||||
|
||||
当 `exiv2` 在构建时可用时,此项目将尝试使用其进行构建,若您不希望使用 `exiv2`,请传递 `-DEXIV2_METADATA_SUPPORT=OFF` 参数给 `cmake`。此项目在找不到 `exiv2` 时并不会使用 `exiv2`,`EXIV2_METADATA_SUPPORT` 选项可供尽管存在可用的 `exiv2` 但您明确不希望启用其支持时使用。
|
||||
|
||||
此应用的图片格式支持依赖于 Qt 的 imageformats 插件,直接从您所用的发行版获取对应的图像格式插件即可。对于 Windows 用户,您可能需要手动构建和使用图像格式插件。下方给出了进一步的说明。
|
||||
|
||||
在 Windows、Linux 以及 macOS 系统均可构建此应用,其它有移植 Qt 支持的平台也可能可以进行构建。
|
||||
|
||||
## 许可协议
|
||||
|
||||
SCW 照片查看器整体使用 MIT 协议进行发布。项目所随的部分源文件可能具备不同但与之兼容的许可协议。
|
||||
@@ -0,0 +1,88 @@
|
||||
# Sarasas Chip Workshop 照片查看器
|
||||
|
||||
简单轻量的、具有跨平台支持的、经典样式的 Windows 照片查看器。
|
||||
|
||||
> [!IMPORTANT]
|
||||
> SarasaCW 照片查看器还在重构中。在这条信息被移除之前请不要使用它。
|
||||
|
||||
## 简介
|
||||
|
||||
Sarasas Chip Workshop 照片查看器(简称 SarasaCW 照片查看器)是一个轻量级的图片查看器。支持跨平台。界面风格类似于经典的 Windows 照片查看器。它可以让你快速轻松地浏览 JPEG、PNG、GIF、SVG、PSD、KRA、XCF、TGA、HDR、AVIF 以及其他一些常用的图片格式,且无需改变你长期的 Windows 使用习惯。
|
||||
|
||||
SarasaCW 照片查看器是[菠萝看图](https://github.com/BLumia/pineapple-pictures)的**硬分叉**,该分叉自菠萝看图 1.4.1 版本开始。
|
||||
|
||||
<!--
|
||||
|
||||
简单轻量的跨平台看图工具。
|
||||
|
||||
|CI|构建状态|
|
||||
|---|---|
|
||||
|Windows Build|[](https://github.com/BLumia/pineapple-pictures/actions/workflows/windows.yml)|
|
||||
|macOS Build|[](https://github.com/BLumia/pineapple-pictures/actions/workflows/macos.yml)|
|
||||
|Ubuntu Build|[](https://github.com/BLumia/pineapple-pictures/actions/workflows/ubuntu.yml)|
|
||||
|
||||

|
||||
|
||||
## 立即获取!
|
||||
|
||||
### 由原作者维护
|
||||
|
||||
- [GitHub Release 页面](https://github.com/BLumia/pineapple-pictures/releases)
|
||||
- [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
|
||||
- Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
|
||||
- [Itch.io 商店](https://blumia.itch.io/pineapple-pictures)
|
||||
- [Microsoft Store](https://apps.microsoft.com/store/detail/9MXGX66VVGJP)
|
||||
- Flatpak (于 FlatHub): [net.blumia.pineapple-pictures](https://flathub.org/apps/net.blumia.pineapple-pictures) *([我应当使用 flatpak 版吗?](https://github.com/BLumia/pineapple-pictures/wiki/Container%E2%80%90based-Packaging-Solutions-Support))*
|
||||
|
||||
### 由贡献者/对应发行版的打包人员维护
|
||||
|
||||
[](https://repology.org/project/pineapple-pictures/versions)
|
||||
|
||||
## 参与贡献
|
||||
|
||||
除了参与反馈和代码贡献外,也欢迎各种类型的贡献!
|
||||
|
||||
### 帮助翻译!
|
||||
|
||||
[在 Weblate 上帮助此项目翻译到更多语言!](https://hosted.weblate.org/projects/pineapple-pictures/)
|
||||
|
||||
### 打赏
|
||||
|
||||
[Afdian | 爱发电](https://afdian.com/a/BLumia)
|
||||
|
||||
[](https://ko-fi.com/blumia)
|
||||
|
||||
## 手动构建步骤:
|
||||
|
||||
当前状态,我们需要先确保如下依赖可用:
|
||||
|
||||
- `cmake`: 我们所使用的构建系统
|
||||
- 包含 `qt6-svg` 与 `qt6-tools` 组件的 `qt6`: 此应用基于 Qt
|
||||
- `libexiv2`: 用以获取和显示更多的图像元信息(可选,推荐)
|
||||
|
||||
然后我们就可以使用任何常规的 c++ 编译器如 g++ 或 msvc 来进行构建了
|
||||
|
||||
构建过程就是常规的 CMake 应用构建过程:
|
||||
|
||||
``` bash
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ cmake --build . # 如果你使用 Makefile 作为 CMake 生成器,也可以直接简单的使用 `make`
|
||||
```
|
||||
|
||||
完毕后,一个名为 `ppic` 的可执行程序即会被生成以供使用。您也可以选择通过使用 CMake 生成的 `install` 目标继续将其安装到您的设备上(假设您使用 Makefile,即可执行 `make install` 来进行安装)。构建步骤完毕后,您也可以使用 `cpack` 来对应用程序进行打包。
|
||||
|
||||
当 `exiv2` 在构建时可用时,此项目将尝试使用其进行构建,若您不希望使用 `exiv2`,请传递 `-DEXIV2_METADATA_SUPPORT=OFF` 参数给 `cmake`。此项目在找不到 `exiv2` 时并不会使用 `exiv2`,`EXIV2_METADATA_SUPPORT` 选项可供尽管存在可用的 `exiv2` 但您明确不希望启用其支持时使用。
|
||||
|
||||
此应用的图片格式支持依赖于 Qt 的 imageformats 插件,直接从您所用的发行版获取对应的图像格式插件即可。对于 Windows 用户,您可能需要手动构建和使用图像格式插件。下方给出了进一步的说明。
|
||||
|
||||
在 Windows、Linux 以及 macOS 系统均可构建此应用,其它有移植 Qt 支持的平台也可能可以进行构建。若要了解一些平台相关的构建指引,请参阅[相关的 Wiki 页面](https://github.com/BLumia/pineapple-pictures/wiki/Platform-Specific-Build-Instructions)。
|
||||
|
||||
> [!NOTE]
|
||||
> 尽管存在一个可用于 QMake 构建的 `pineapple-pictures.pro` 文件,但其仅供简单测试所用且其并不包含 `exiv2` 支持。使用 QMake 构建此项目是 **不受支持** 的,请尽可能考虑使用 CMake。
|
||||
|
||||
## 许可协议
|
||||
|
||||
菠萝看图整体使用 MIT 协议进行发布。项目所随的部分源文件可能具备不同但与之兼容的许可协议。
|
||||
|
||||
-->
|
||||
@@ -1,57 +1,45 @@
|
||||
version = 1
|
||||
SPDX-PackageName = "sarasacw-picture"
|
||||
SPDX-PackageDownloadLocation = "https://github.com/SarasasChipWorkshop/sarasacw-picture.git"
|
||||
SPDX-PackageName = "Pineapple Pictures"
|
||||
SPDX-PackageDownloadLocation = "https://github.com/BLumia/pineapple-pictures"
|
||||
|
||||
[[annotations]]
|
||||
path = [".gitattributes", ".git-blame-ignore-revs", ".gitignore", ".github/**"]
|
||||
path = [".gitattributes", ".git-blame-ignore-revs", ".gitignore", "appveyor.yml", ".github/**"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "None"
|
||||
SPDX-License-Identifier = "CC0-1.0"
|
||||
|
||||
[[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"
|
||||
SPDX-FileCopyrightText = "None"
|
||||
SPDX-License-Identifier = "CC0-1.0"
|
||||
|
||||
[[annotations]]
|
||||
path = ["LICENSE"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = ["2026 BLumia", "2026 Sarasa's Chip Workshop"]
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = ["app/**.ui"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = ["assets/htmls/**"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = ["2026 Gary Wang", "2026 Sarasa's Chip Workshop"]
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = ["assets/icons/**.png"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
|
||||
SPDX-License-Identifier = "CC-BY-4.0"
|
||||
|
||||
[[annotations]]
|
||||
path = ["dist/**.liquid", "dist/**.toml", "dist/**.ps1"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = ["dist/**.png", "dist/**.ico", "dist/**.icns"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2026 Sarasa's Chip Workshop"
|
||||
SPDX-License-Identifier = "CC-BY-4.0"
|
||||
|
||||
[[annotations]]
|
||||
path = ["locales/**"]
|
||||
path = ["locales/app/**.ts", "locales/winrc/**", "assets/plain/translators.html"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "Translators from hosted.weblate.org"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = ["dist/msix/**.svg", "dist/msix/**.toml"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2026 Gary Wang"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = ["app/translations/**.ts", "assets/plain/translators.html"]
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2026 yyc12345"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = "assets/icons/**.svg"
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2022 Gary Wang"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
|
||||
[[annotations]]
|
||||
path = "assets/icons/app-icon.**"
|
||||
precedence = "aggregate"
|
||||
SPDX-FileCopyrightText = "2020 Lovelyblack"
|
||||
SPDX-License-Identifier = "MIT"
|
||||
@@ -53,6 +53,7 @@ AboutDialog::AboutDialog(QWidget *parent)
|
||||
.arg(tr("Version: %1").arg(APP_VERSION_ARG))
|
||||
.arg(tr("Upstream author"))
|
||||
.arg(tr("Hard fork author"))
|
||||
.arg(tr("Logo designer"))
|
||||
.arg(tr("Built with Qt %1 (%2)").arg(QT_VERSION_ARG).arg(QT_ARCH_ARG))
|
||||
.arg(tr("Source code"));
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
static QIcon loadHidpiIcon(const QString &resp, QSize sz = QSize(32, 32))
|
||||
{
|
||||
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());
|
||||
return QIcon(pm);
|
||||
}
|
||||
@@ -146,8 +146,7 @@ void ActionManager::setupAction(MainWindow *mainWindow)
|
||||
|
||||
void ActionManager::setupShortcuts()
|
||||
{
|
||||
actionCopyPixmap->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_C));
|
||||
actionCopyFilePath->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_C));
|
||||
actionCopyPixmap->setShortcut(QKeySequence::Copy);
|
||||
|
||||
actionPrevPicture->setShortcuts({
|
||||
QKeySequence(Qt::Key_Left),
|
||||
@@ -158,20 +157,13 @@ void ActionManager::setupShortcuts()
|
||||
QKeySequence(Qt::Key_PageDown),
|
||||
});
|
||||
|
||||
actionFitToScreen->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_0));
|
||||
actionActualSize->setShortcut(QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_0));
|
||||
|
||||
actionActualSize->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_0));
|
||||
actionZoomIn->setShortcut(QKeySequence::ZoomIn);
|
||||
actionZoomOut->setShortcut(QKeySequence::ZoomOut);
|
||||
|
||||
actionFlipHorizontal->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_M));
|
||||
actionFlipVertical->setShortcut(QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_M));
|
||||
|
||||
actionRotateClockwise->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_Comma));
|
||||
actionRotateCounterClockwise->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_Period));
|
||||
|
||||
actionTrash->setShortcut(QKeySequence::Delete);
|
||||
actionProperties->setShortcut(QKeySequence(Qt::ALT | Qt::Key_Enter));
|
||||
actionProperties->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_I));
|
||||
|
||||
actionSettings->setShortcut(QKeySequence::Preferences);
|
||||
actionHelp->setShortcut(QKeySequence::HelpContents);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ public:
|
||||
void setupAction(MainWindow * mainWindow);
|
||||
void setupShortcuts();
|
||||
|
||||
public slots:
|
||||
void updateActionState(PlaylistManager* pm, GraphicsView* gv);
|
||||
|
||||
public:
|
||||
|
||||
@@ -21,27 +21,30 @@
|
||||
|
||||
static const QColor& ColorSchemaToTextForeground(Qt::ColorScheme colorScheme) {
|
||||
// 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.
|
||||
#if defined(Q_OS_WIN)
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||
colorScheme = Qt::ColorScheme::Light;
|
||||
#else
|
||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
||||
colorScheme = Qt::ColorScheme::Light;
|
||||
}
|
||||
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||
#endif // defined(Q_OS_WIN)
|
||||
|
||||
switch (colorScheme) {
|
||||
case Qt::ColorScheme::Dark: {
|
||||
case Qt::ColorScheme::Dark:
|
||||
static QColor WHITE = QColor("White");
|
||||
return WHITE;
|
||||
}
|
||||
case Qt::ColorScheme::Light:
|
||||
case Qt::ColorScheme::Unknown:
|
||||
default: {
|
||||
default:
|
||||
static QColor BLACK = QColor("Black");
|
||||
return BLACK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class PGraphicsPixmapItem : public QGraphicsPixmapItem
|
||||
{
|
||||
@@ -159,9 +162,11 @@ void GraphicsScene::showSvg(const QString &filepath)
|
||||
this->clear();
|
||||
QGraphicsSvgItem * svgItem = new QGraphicsSvgItem();
|
||||
QSvgRenderer * render = new QSvgRenderer(svgItem);
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||
if (Settings::instance()->svgTiny12Only()) {
|
||||
render->setOptions(QtSvg::Tiny12FeaturesOnly);
|
||||
}
|
||||
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||
render->load(filepath);
|
||||
svgItem->setSharedRenderer(render);
|
||||
this->addItem(svgItem);
|
||||
|
||||
@@ -57,6 +57,7 @@ void GraphicsView::showFileFromPath(const QString &filePath)
|
||||
} else if (!imageReader.canRead()) {
|
||||
showText(tr("Image data is invalid or currently unsupported"));
|
||||
} else {
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
|
||||
QImage && img = imageReader.read();
|
||||
if (img.isNull()) {
|
||||
showText(tr("Image data is invalid or currently unsupported"));
|
||||
@@ -67,6 +68,15 @@ void GraphicsView::showFileFromPath(const QString &filePath)
|
||||
img.setDevicePixelRatio(devicePixelRatioF());
|
||||
showImage(img);
|
||||
}
|
||||
#else
|
||||
QPixmap && pixmap = QPixmap::fromImageReader(&imageReader);
|
||||
if (pixmap.isNull()) {
|
||||
showText(tr("Image data is invalid or currently unsupported"));
|
||||
} else {
|
||||
pixmap.setDevicePixelRatio(devicePixelRatioF());
|
||||
showImage(pixmap);
|
||||
}
|
||||
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -356,12 +366,17 @@ QTransform GraphicsView::resetScale(const QTransform & orig)
|
||||
|
||||
void GraphicsView::updateStyle(Qt::ColorScheme colorScheme) {
|
||||
// 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.
|
||||
#if defined(Q_OS_WIN)
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||
colorScheme = Qt::ColorScheme::Light;
|
||||
#else
|
||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
||||
colorScheme = Qt::ColorScheme::Light;
|
||||
}
|
||||
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||
#endif // defined(Q_OS_WIN)
|
||||
|
||||
switch (colorScheme) {
|
||||
|
||||
@@ -20,8 +20,8 @@ using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication::setApplicationName(u"SCW Photo Viewer"_s);
|
||||
QCoreApplication::setApplicationVersion(SCWPIC_VERSION_STRING);
|
||||
QCoreApplication::setApplicationName(u"Pineapple Pictures"_s);
|
||||
QCoreApplication::setApplicationVersion(PPIC_VERSION_STRING);
|
||||
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Settings::instance()->hiDpiScaleFactorBehavior());
|
||||
|
||||
QApplication a(argc, argv);
|
||||
@@ -34,11 +34,11 @@ int main(int argc, char *argv[])
|
||||
#else
|
||||
const QString qmDir = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath("translations");
|
||||
#endif
|
||||
if (translator.load(QLocale(), u"SCWPicture"_s, u"_"_s, qmDir)) {
|
||||
if (translator.load(QLocale(), u"PineapplePictures"_s, u"_"_s, qmDir)) {
|
||||
QCoreApplication::installTranslator(&translator);
|
||||
}
|
||||
|
||||
QGuiApplication::setApplicationDisplayName(QCoreApplication::translate("main", "SCW Photo Viewer"));
|
||||
QGuiApplication::setApplicationDisplayName(QCoreApplication::translate("main", "Pineapple Pictures"));
|
||||
|
||||
// commandline options
|
||||
QCommandLineOption supportedImageFormats(u"supported-image-formats"_s, QCoreApplication::translate("main", "List supported image format suffixes, and quit program."));
|
||||
@@ -78,11 +78,7 @@ int main(int argc, char *argv[])
|
||||
// Handle dock icon clicks to show hidden window
|
||||
a.connect(&a, &QApplication::applicationStateChanged, [&w](Qt::ApplicationState state) {
|
||||
if (state == Qt::ApplicationActive && w.isHidden()) {
|
||||
// YYC MARK:
|
||||
// We can't use `{}` because there is an ambiguity between 2 overloads:
|
||||
// `void showFiles(const QStringList& files);` and `void showFiles(const QList<QUrl>& urls);`.
|
||||
QStringList emptyFileList;
|
||||
w.showFiles(emptyFileList);
|
||||
w.showFiles({});
|
||||
w.galleryCurrent(false);
|
||||
w.showNormal();
|
||||
w.raise();
|
||||
|
||||
@@ -180,7 +180,6 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete m_am;
|
||||
delete ui;
|
||||
}
|
||||
|
||||
@@ -257,7 +256,11 @@ void MainWindow::galleryCurrent(bool fromFileWatcher)
|
||||
|
||||
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()) {
|
||||
formatFilters.append(QStringLiteral("*.") % QString::fromLocal8Bit(item));
|
||||
}
|
||||
|
||||
@@ -43,12 +43,17 @@ void NavigatorView::updateMainViewportRegion()
|
||||
|
||||
void NavigatorView::updateStyle(Qt::ColorScheme colorScheme) {
|
||||
// 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.
|
||||
#if defined(Q_OS_WIN)
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||
colorScheme = Qt::ColorScheme::Light;
|
||||
#else
|
||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows11) {
|
||||
colorScheme = Qt::ColorScheme::Light;
|
||||
}
|
||||
#endif // QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||
#endif // defined(Q_OS_WIN)
|
||||
|
||||
switch (colorScheme) {
|
||||
|
||||
@@ -13,15 +13,6 @@
|
||||
|
||||
#include <optional>
|
||||
|
||||
// YYC MARK:
|
||||
// <exdisp.h> is not self-contained: it only includes <rpc.h>/<rpcndr.h> before
|
||||
// emitting `typedef interface ...` forward declarations, while the `interface`
|
||||
// macro (defined as `struct` for C++) lives in <combaseapi.h>, which is pulled
|
||||
// in via the <objbase.h> chain. Without this prelude, MSVC fails to parse those
|
||||
// forward declarations (C2146/C2371) and every IShellWindows usage breaks.
|
||||
// (Qt headers do not include <windows.h>, so nothing else provides it here.)
|
||||
#include <objbase.h>
|
||||
|
||||
#include <exdisp.h> // IShellWindows, CLSID_ShellWindows
|
||||
#include <servprov.h> // IServiceProvider
|
||||
#include <shlguid.h> // SID_STopLevelBrowser
|
||||
|
||||
@@ -49,17 +49,6 @@ private:
|
||||
Pairs pairs;
|
||||
};
|
||||
|
||||
SettingsDialog::SettingsDialog(QWidget *parent)
|
||||
: QDialog(parent), ui(new QT_PREPEND_NAMESPACE(Ui::SettingsDialog))
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
|
||||
|
||||
// YYC MARK:
|
||||
// These transformers must stay as function-local statics: their initialization
|
||||
// evaluates QCoreApplication::translate(), which returns translated text only
|
||||
// after the QTranslator is installed in main(). Namespace-scope statics would
|
||||
// be initialized before that and always keep the untranslated source text.
|
||||
static EnumComboBoxTransformer<Settings::MouseWheelBehavior, QString> MW_OPTIONS {
|
||||
{
|
||||
{ Settings::MouseWheelBehavior::Zoom, QCoreApplication::translate("SettingsDialog", "Zoom in and out") },
|
||||
@@ -83,6 +72,12 @@ SettingsDialog::SettingsDialog(QWidget *parent)
|
||||
}
|
||||
};
|
||||
|
||||
SettingsDialog::SettingsDialog(QWidget *parent)
|
||||
: QDialog(parent), ui(new QT_PREPEND_NAMESPACE(Ui::SettingsDialog))
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
|
||||
|
||||
auto* settings = Settings::instance();
|
||||
ui->m_showNavigatorView->setChecked(Settings::instance()->showNavigatorView());
|
||||
ui->m_useLightCheckerboard->setChecked(settings->useLightCheckerboard());
|
||||
@@ -98,19 +93,27 @@ SettingsDialog::SettingsDialog(QWidget *parent)
|
||||
Qt::HighDpiScaleFactorRoundingPolicy hidpi = settings->hiDpiScaleFactorBehavior();
|
||||
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);
|
||||
});
|
||||
|
||||
connect(ui->m_useLightCheckerboard, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
|
||||
connect(ui->m_useLightCheckerboard, &QCHECKBOX_CHECKSTATECHANGED, this, [ = ](QT_CHECKSTATE state){
|
||||
Settings::instance()->setUseLightCheckerboard(state == Qt::Checked);
|
||||
});
|
||||
|
||||
connect(ui->m_loopGallery, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
|
||||
connect(ui->m_loopGallery, &QCHECKBOX_CHECKSTATECHANGED, this, [ = ](QT_CHECKSTATE state){
|
||||
Settings::instance()->setLoopGallery(state == Qt::Checked);
|
||||
});
|
||||
|
||||
connect(ui->m_svgTiny12Only, &QCheckBox::checkStateChanged, this, [ = ](Qt::CheckState state){
|
||||
connect(ui->m_svgTiny12Only, &QCHECKBOX_CHECKSTATECHANGED, this, [ = ](QT_CHECKSTATE state){
|
||||
Settings::instance()->setSvgTiny12Only(state == Qt::Checked);
|
||||
});
|
||||
|
||||
|
||||
@@ -14,13 +14,16 @@
|
||||
<span>%3</span><span>: </span><a href='https://github.com/BLumia'>@BLumia</a>
|
||||
<br/>
|
||||
<span>%4</span><span>: </span><a href='https://github.com/yyc12345'>@yyc12345</a>
|
||||
<br/>
|
||||
<!-- Icon author -->
|
||||
<span>%5</span><span>: </span><a href='https://github.com/Lovelyblack'>@Lovelyblack</a>
|
||||
</p>
|
||||
<hr/>
|
||||
<p>
|
||||
<!-- Built Qt version info -->
|
||||
<span>%5</span>
|
||||
<span>%6</span>
|
||||
<br/>
|
||||
<!-- Source code -->
|
||||
<span>%6</span><span>: </span><a href='https://github.com/SarasasChipWorkshop/sarasacw-picture'>GitHub</a>
|
||||
<span>%7</span><span>: </span><a href='https://github.com/BLumia/pineapple-pictures'>GitHub</a>
|
||||
</p>
|
||||
</center>
|
||||
@@ -8,7 +8,6 @@
|
||||
Expat/MIT License
|
||||
|
||||
Copyright © 2026 BLumia
|
||||
Copyright © 2026 Sarasa's Chip Workshop
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!-- Contributor title -->
|
||||
<h1 align='center'>%1</h1>
|
||||
<!-- Contributor list -->
|
||||
<a href='https://github.com/SarasasChipWorkshop/sarasacw-picture/graphs/contributors'>%2</a>
|
||||
<a href='https://github.com/BLumia/pineapple-pictures/graphs/contributors'>%2</a>
|
||||
<!-- The message to thank these contributors -->
|
||||
<p>%3</p>
|
||||
|
||||
|
||||
|
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 |
@@ -1,307 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity Name="SarasasChipWorkshop.Picture" Publisher="CN=Sarasa's Chip Workshop, O=Sarasa's Chip Workshop, C=CN" Version="@PROJECT_VERSION@.0" />
|
||||
|
||||
<Properties>
|
||||
<DisplayName>ms-resource:AppDisplayName</DisplayName>
|
||||
<PublisherDisplayName>ms-resource:PublisherDisplayName</PublisherDisplayName>
|
||||
<Logo>Assets\SarasasChipWorkshop.Picture.StoreLogo.png</Logo>
|
||||
</Properties>
|
||||
|
||||
<Resources>
|
||||
{% for lang in langs %}
|
||||
<Resource Language="{{ lang }}" />
|
||||
{% endfor %}
|
||||
</Resources>
|
||||
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.22000.0" MaxVersionTested="10.0.26100.0" />
|
||||
</Dependencies>
|
||||
|
||||
<Capabilities>
|
||||
<rescap:Capability Name="runFullTrust" />
|
||||
</Capabilities>
|
||||
|
||||
<Applications>
|
||||
<Application Id="SarasasChipWorkshop.Picture" Executable="MyApp\scwpic.exe" EntryPoint="Windows.FullTrustApplication">
|
||||
<uap:VisualElements
|
||||
DisplayName="ms-resource:AppDisplayName"
|
||||
Description="ms-resource:AppDescription"
|
||||
BackgroundColor="transparent"
|
||||
Square44x44Logo="Assets\SarasasChipWorkshop.Picture.Square44x44Logo.png"
|
||||
Square150x150Logo="Assets\SarasasChipWorkshop.Picture.Square150x150Logo.png" />
|
||||
<Extensions>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="jpegimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeJpegDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.jfif</uap:FileType>
|
||||
<uap:FileType>.jpeg</uap:FileType>
|
||||
<uap:FileType>.jpg</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="gifimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeGifDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\gif.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.gif</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="pngimages">
|
||||
<uap:DisplayName>ms-resource:FileTypePngDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.apng</uap:FileType>
|
||||
<uap:FileType>.png</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="svgimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeSvgDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.svg</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="webpimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeWebpDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.webp</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="avifimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeAvifDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.avif</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="icoimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeIcoDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.ico</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="icnsimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeIcnsDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.icns</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="psdimages">
|
||||
<uap:DisplayName>ms-resource:FileTypePsdDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.pdd</uap:FileType>
|
||||
<uap:FileType>.psb</uap:FileType>
|
||||
<uap:FileType>.psd</uap:FileType>
|
||||
<uap:FileType>.psdt</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="kraimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeKraDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.kra</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="xcfimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeXcfDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.xcf</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="tgaimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeTgaDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.tga</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="tifimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeTifDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.tif</uap:FileType>
|
||||
<uap:FileType>.tiff</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="bmpimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeBmpDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.bmp</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="wbmpimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeWbmpDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.wbmp</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="ddsimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeDdsDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.dds</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="hdrimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeHdrDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.exr</uap:FileType>
|
||||
<uap:FileType>.hdr</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="iffimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeIffDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.iff</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="picimages">
|
||||
<uap:DisplayName>ms-resource:FileTypePicDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.pic</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="pcximages">
|
||||
<uap:DisplayName>ms-resource:FileTypePcxDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.pcx</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="qoiimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeQoiDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\png.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.qoi</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="rasimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeRasDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.ras</uap:FileType>
|
||||
<uap:FileType>.sun</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="oraimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeOraDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\bmp.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.ora</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="aniimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeAniDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\gif.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.ani</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="pfmimages">
|
||||
<uap:DisplayName>ms-resource:FileTypePfmDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\jpg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.pfm</uap:FileType>
|
||||
<uap:FileType>.phm</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="rgbimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeRgbDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.bw</uap:FileType>
|
||||
<uap:FileType>.rgb</uap:FileType>
|
||||
<uap:FileType>.rgba</uap:FileType>
|
||||
<uap:FileType>.sgi</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="pxrimages">
|
||||
<uap:DisplayName>ms-resource:FileTypePxrDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.pxr</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
<uap:Extension Category="windows.fileTypeAssociation">
|
||||
<uap:FileTypeAssociation Name="sctimages">
|
||||
<uap:DisplayName>ms-resource:FileTypeSctDisplayName</uap:DisplayName>
|
||||
<uap:Logo>Assets\FileAssoc\svg.png</uap:Logo>
|
||||
<uap:SupportedFileTypes>
|
||||
<uap:FileType>.sct</uap:FileType>
|
||||
</uap:SupportedFileTypes>
|
||||
</uap:FileTypeAssociation>
|
||||
</uap:Extension>
|
||||
</Extensions>
|
||||
</Application>
|
||||
</Applications>
|
||||
</Package>
|
||||
@@ -1,126 +0,0 @@
|
||||
version = 1
|
||||
source_language = "en_US"
|
||||
|
||||
[strings.app_display_name]
|
||||
msgid = "SCW Photo Viewer"
|
||||
comment = "Display name of the application, referenced as ms-resource:AppDisplayName."
|
||||
|
||||
[strings.publisher_display_name]
|
||||
msgid = "Sarasa's Chip Workshop"
|
||||
comment = "Publisher display name, referenced as ms-resource:PublisherDisplayName."
|
||||
|
||||
[strings.app_description]
|
||||
msgid = "Yet another legacy Windows Photo Viewer with cross-platform support."
|
||||
comment = "Application description, referenced as ms-resource:AppDescription."
|
||||
|
||||
[strings.file_type_jpeg]
|
||||
msgid = "JPEG Image"
|
||||
comment = "Display name of the JPEG file type association (jpg, jpeg, jfif), referenced as ms-resource:FileTypeJpegDisplayName."
|
||||
|
||||
[strings.file_type_gif]
|
||||
msgid = "GIF Animation Image"
|
||||
comment = "Display name of the GIF file type association, referenced as ms-resource:FileTypeGifDisplayName."
|
||||
|
||||
[strings.file_type_png]
|
||||
msgid = "PNG Image"
|
||||
comment = "Display name of the PNG file type association (png, apng), referenced as ms-resource:FileTypePngDisplayName."
|
||||
|
||||
[strings.file_type_svg]
|
||||
msgid = "Scalable Vector Graphics"
|
||||
comment = "Display name of the SVG file type association, referenced as ms-resource:FileTypeSvgDisplayName."
|
||||
|
||||
[strings.file_type_webp]
|
||||
msgid = "WebP Image"
|
||||
comment = "Display name of the WebP file type association, referenced as ms-resource:FileTypeWebpDisplayName."
|
||||
|
||||
[strings.file_type_avif]
|
||||
msgid = "AV1 Image File"
|
||||
comment = "Display name of the AVIF file type association, referenced as ms-resource:FileTypeAvifDisplayName."
|
||||
|
||||
[strings.file_type_ico]
|
||||
msgid = "Windows Icon Image"
|
||||
comment = "Display name of the ICO file type association, referenced as ms-resource:FileTypeIcoDisplayName."
|
||||
|
||||
[strings.file_type_icns]
|
||||
msgid = "Apple Icon Image"
|
||||
comment = "Display name of the ICNS file type association, referenced as ms-resource:FileTypeIcnsDisplayName."
|
||||
|
||||
[strings.file_type_psd]
|
||||
msgid = "Photoshop Document"
|
||||
comment = "Display name of the Photoshop file type association (psd, psb, pdd, psdt), referenced as ms-resource:FileTypePsdDisplayName."
|
||||
|
||||
[strings.file_type_kra]
|
||||
msgid = "Krita Document"
|
||||
comment = "Display name of the Krita file type association, referenced as ms-resource:FileTypeKraDisplayName."
|
||||
|
||||
[strings.file_type_xcf]
|
||||
msgid = "GIMP Document"
|
||||
comment = "Display name of the GIMP file type association, referenced as ms-resource:FileTypeXcfDisplayName."
|
||||
|
||||
[strings.file_type_tga]
|
||||
msgid = "TARGA Image"
|
||||
comment = "Display name of the TARGA file type association, referenced as ms-resource:FileTypeTgaDisplayName."
|
||||
|
||||
[strings.file_type_tif]
|
||||
msgid = "Tagged Image File Format"
|
||||
comment = "Display name of the TIFF file type association (tif, tiff), referenced as ms-resource:FileTypeTifDisplayName."
|
||||
|
||||
[strings.file_type_bmp]
|
||||
msgid = "Bitmap"
|
||||
comment = "Display name of the BMP file type association, referenced as ms-resource:FileTypeBmpDisplayName."
|
||||
|
||||
[strings.file_type_wbmp]
|
||||
msgid = "Wireless Bitmap"
|
||||
comment = "Display name of the WBMP file type association, referenced as ms-resource:FileTypeWbmpDisplayName."
|
||||
|
||||
[strings.file_type_dds]
|
||||
msgid = "DirectDraw Surface"
|
||||
comment = "Display name of the DDS file type association, referenced as ms-resource:FileTypeDdsDisplayName."
|
||||
|
||||
[strings.file_type_hdr]
|
||||
msgid = "High Dynamic Range Image"
|
||||
comment = "Display name of the HDR file type association (hdr, exr), referenced as ms-resource:FileTypeHdrDisplayName."
|
||||
|
||||
[strings.file_type_iff]
|
||||
msgid = "Interchange File Format"
|
||||
comment = "Display name of the IFF file type association, referenced as ms-resource:FileTypeIffDisplayName."
|
||||
|
||||
[strings.file_type_pic]
|
||||
msgid = "Softimage Picture"
|
||||
comment = "Display name of the Softimage PIC file type association, referenced as ms-resource:FileTypePicDisplayName."
|
||||
|
||||
[strings.file_type_pcx]
|
||||
msgid = "PiCture eXchange PC Paintbrush Image"
|
||||
comment = "Display name of the PCX file type association, referenced as ms-resource:FileTypePcxDisplayName."
|
||||
|
||||
[strings.file_type_qoi]
|
||||
msgid = "Quite OK Image"
|
||||
comment = "Display name of the QOI file type association, referenced as ms-resource:FileTypeQoiDisplayName."
|
||||
|
||||
[strings.file_type_ras]
|
||||
msgid = "Sun Raster Image"
|
||||
comment = "Display name of the Sun Raster file type association (ras, sun), referenced as ms-resource:FileTypeRasDisplayName."
|
||||
|
||||
[strings.file_type_ora]
|
||||
msgid = "OpenRaster Image"
|
||||
comment = "Display name of the OpenRaster file type association, referenced as ms-resource:FileTypeOraDisplayName."
|
||||
|
||||
[strings.file_type_ani]
|
||||
msgid = "Animated Cursor"
|
||||
comment = "Display name of the ANI file type association, referenced as ms-resource:FileTypeAniDisplayName."
|
||||
|
||||
[strings.file_type_pfm]
|
||||
msgid = "Portable Float Map"
|
||||
comment = "Display name of the Portable Float Map file type association (pfm, phm), referenced as ms-resource:FileTypePfmDisplayName."
|
||||
|
||||
[strings.file_type_rgb]
|
||||
msgid = "Silicon Graphics Image"
|
||||
comment = "Display name of the Silicon Graphics file type association (rgb, rgba, bw, sgi), referenced as ms-resource:FileTypeRgbDisplayName."
|
||||
|
||||
[strings.file_type_pxr]
|
||||
msgid = "Pixar Raster Image"
|
||||
comment = "Display name of the Pixar file type association, referenced as ms-resource:FileTypePxrDisplayName."
|
||||
|
||||
[strings.file_type_sct]
|
||||
msgid = "Scitex Continuous Tone"
|
||||
comment = "Display name of the Scitex CT file type association, referenced as ms-resource:FileTypeSctDisplayName."
|
||||
@@ -27,7 +27,7 @@
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>MIT/Expat License - Copyright (C) 2026 Sarasa's Chip Workshop</string>
|
||||
<string>MIT/Expat License - Copyright (C) 2026 Gary Wang</string>
|
||||
<!--
|
||||
CFBundleLocalizations is generated from the metadata localization languages (the metaglot
|
||||
"langs" list), while this field by definition describes the application's language
|
||||
|
||||
@@ -2,7 +2,7 @@ version = 1
|
||||
source_language = "en"
|
||||
|
||||
[strings.app_name]
|
||||
msgid = "SCW Photo Viewer"
|
||||
msgid = "Pineapple Pictures"
|
||||
comment = "Display name of the application."
|
||||
|
||||
[strings.file_type_jpeg]
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
{
|
||||
"AppDisplayName": "{{ strings.app_display_name | json_escape }}",
|
||||
"PublisherDisplayName": "{{ strings.publisher_display_name | json_escape }}",
|
||||
"AppDescription": "{{ strings.app_description | json_escape }}",
|
||||
"FileTypeJpegDisplayName": "{{ strings.file_type_jpeg | json_escape }}",
|
||||
"FileTypeGifDisplayName": "{{ strings.file_type_gif | json_escape }}",
|
||||
"FileTypePngDisplayName": "{{ strings.file_type_png | json_escape }}",
|
||||
"FileTypeSvgDisplayName": "{{ strings.file_type_svg | json_escape }}",
|
||||
"FileTypeWebpDisplayName": "{{ strings.file_type_webp | json_escape }}",
|
||||
"FileTypeAvifDisplayName": "{{ strings.file_type_avif | json_escape }}",
|
||||
"FileTypeIcoDisplayName": "{{ strings.file_type_ico | json_escape }}",
|
||||
"FileTypeIcnsDisplayName": "{{ strings.file_type_icns | json_escape }}",
|
||||
"FileTypePsdDisplayName": "{{ strings.file_type_psd | json_escape }}",
|
||||
"FileTypeKraDisplayName": "{{ strings.file_type_kra | json_escape }}",
|
||||
"FileTypeXcfDisplayName": "{{ strings.file_type_xcf | json_escape }}",
|
||||
"FileTypeTgaDisplayName": "{{ strings.file_type_tga | json_escape }}",
|
||||
"FileTypeTifDisplayName": "{{ strings.file_type_tif | json_escape }}",
|
||||
"FileTypeBmpDisplayName": "{{ strings.file_type_bmp | json_escape }}",
|
||||
"FileTypeWbmpDisplayName": "{{ strings.file_type_wbmp | json_escape }}",
|
||||
"FileTypeDdsDisplayName": "{{ strings.file_type_dds | json_escape }}",
|
||||
"FileTypeHdrDisplayName": "{{ strings.file_type_hdr | json_escape }}",
|
||||
"FileTypeIffDisplayName": "{{ strings.file_type_iff | json_escape }}",
|
||||
"FileTypePicDisplayName": "{{ strings.file_type_pic | json_escape }}",
|
||||
"FileTypePcxDisplayName": "{{ strings.file_type_pcx | json_escape }}",
|
||||
"FileTypeQoiDisplayName": "{{ strings.file_type_qoi | json_escape }}",
|
||||
"FileTypeRasDisplayName": "{{ strings.file_type_ras | json_escape }}",
|
||||
"FileTypeOraDisplayName": "{{ strings.file_type_ora | json_escape }}",
|
||||
"FileTypeAniDisplayName": "{{ strings.file_type_ani | json_escape }}",
|
||||
"FileTypePfmDisplayName": "{{ strings.file_type_pfm | json_escape }}",
|
||||
"FileTypeRgbDisplayName": "{{ strings.file_type_rgb | json_escape }}",
|
||||
"FileTypePxrDisplayName": "{{ strings.file_type_pxr | json_escape }}",
|
||||
"FileTypeSctDisplayName": "{{ strings.file_type_sct | json_escape }}"
|
||||
}
|
||||
|
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 |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 192 192" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"><rect id="generic-export-" serif:id="generic(export)" x="0" y="0" width="192" height="192" style="fill:none;"/><g id="文档背景"><path d="M29,143l0,-119.02c0,-3.301 2.68,-5.98 5.98,-5.98l85.058,0l41.962,41.923l0,83.077l-133,0Z" style="fill:#f8fafc;"/><path d="M120.038,18l42.038,42l-36.12,0c-3.269,-0 -5.919,-2.65 -5.919,-5.919l0,-36.081Z" style="fill:#3b82f6;fill-opacity:0.5;"/><g id="底部"><path d="M162,145.178l0,15.644c0,7.273 -5.905,13.178 -13.178,13.178l-106.644,0c-7.273,0 -13.178,-5.905 -13.178,-13.178l0,-15.644c0,-7.273 5.905,-13.178 13.178,-13.178l106.644,0c7.273,0 13.178,5.905 13.178,13.178Z" style="fill:#f8fafc;"/><rect x="29" y="132" width="133" height="22" style="fill:#f8fafc;"/></g></g><g id="文档符号"><path d="M53.75,117c-0,-0 17.005,-22.869 24.972,-33.582c0.969,-1.303 2.484,-2.087 4.107,-2.126c1.623,-0.039 3.174,0.672 4.204,1.927c8.72,10.627 27.718,33.781 27.718,33.781" style="fill:none;stroke:#3b82f6;stroke-width:6.25px;"/><path d="M103.22,102c-0,-0 3.94,-4.938 6.964,-8.727c0.845,-1.06 2.117,-1.69 3.472,-1.723c1.355,-0.033 2.655,0.536 3.551,1.553c6.849,7.778 21.043,23.897 21.043,23.897" style="fill:none;stroke:#3b82f6;stroke-opacity:0.65;stroke-width:6.25px;"/><use xlink:href="#_Image1" x="99.724" y="88.423" width="42px" height="32px"/><circle cx="106" cy="72" r="6" style="fill:#3b82f6;"/><use xlink:href="#_Image2" x="50.625" y="78.165" width="68px" height="42px"/></g><defs><image id="_Image1" width="42px" height="32px" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAgCAYAAABkWOo9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACL0lEQVRYhcWYTW/TQBBAXxzaiIVABeWrQFRBERSKCv3iMP9tD/vb2BMoEgKBVCFoQRUHDlBRpiCqlIOt0BKvs7Hj5B03s6MnZ3dm7AaRiNMW0AHmgXa2/AP4Bux6aw5jc5WhERMkTjvACpAEQo6Bd96aD+MS+5+houL0IXAnMt8XoOutOa5klUPoCQEgTu8SLwlwA3hcyShAUFScXgGWS+TsiNN75ZXyyRUVpwZYq5D3vji9VWH/AAOi4rQJbAIzFXOvZv/KWMh7oqv8Kz9VaADr4vTCGHKdFs0uz8I4EmecAZ6J07NVE/VFxek88KBqwhxawJY4rXSUEuhfnnUiG0AJ2sCGOC0sh0Uk2eXZoPrlGcZl0vNfigRYAsZy4CO4KU5LHa+EdNCYJEvidHHUTaXPTEUeidNro2xIgL2aZIpoAGvidC52QwJsAwe1KYVpkpYtExOceGuOgBfAn1q18pklbQizwwITAG/NT6BLOgBPmnOkT7ZZFNS/TN6ar8Dbuq0CzAFPiwJO3XpvzUfgc51GBVwXpyuhH/PK02vSF7ZpsJgNRgMMiHpresBL4FfdVgGWxenABJdb8L01v0krQa9uqwBPxOmlkwvBzuSt2Qde1a6UTwJsitPzJxeCeGv2gPd1WwWYIa2xLYj/ALEFXK3TqoB94HnsUNJlOm0W4CJwO0p0ym0WoB095k25zR6ONI9mbfYNk5U9AD6VepnLatwCEDWilaQHfAd2vDVHfwFwVYfhCbkXoQAAAABJRU5ErkJggg=="/><image id="_Image2" width="68px" height="42px" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAqCAYAAAAK7f2YAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACq0lEQVRogeWZu27UUBCGvzhIQasERC4gSLgmpAgQEAUJGRoQCQUBERGyieBZtpgH4TFoqLfgDRA9DRIFEhqJS0Fhs0rCXmzv+BwnfKXXnjP6PfL51h4hEqK2CDwEzgCfgXftVuNrrH7+MhJjUVG7AWwfOvwDeNtuNb5EaKlDEnpBUTsPvOjy0xjwRtROBW7pAEEDEbVxYBc40eOUCdJQTobr6iDBAhG1UWAHGDQBM8CuqPUKrVJCTsgmcDHnuZeBLVEL/owLEoiorQB3Cl62BGxU0E5fKg9E1K4BT0pevipq9z37GUSlgYjaJPCK4bb3DVG76dTSQCoLRNTGgD3AY8fYErUrDnUGUkkg2cPwJTDtVDIh3XnOOtXru1AVPAKuO9cMIm7ugYjaLeCBd92MysXNNRBRuwA896zZhUrFzS2QHFruSWXi5hJIdreapCMdiiXK+01PvCbkKTDnVKsIK97iNnQgorZKcS33xFXchgpE1OaJ8H+jC1uidtWjUOlARG2K9K1XlLduh0iApqid8yhUGGct92IMeC1qp4cpUjiQbKvbBqaGWbgiJkhDKX2jykzIY2Ch7IIBmAH2yopboUBEbRlYK7NQYC5RUtxyByJqs1Sv5Z6UErdcgYjaBKmWjxZdIDKFxW1gIPu0fLxsV5EpJG55JuQZMFu+n1qQW9z6BiJqa8CyS0txyS1uPQMRtQXSLfa4kEvcugYiatPUR8s9GShu/wSSnbxLmuhxpK+4HQik5lruSU9xOzwh68B8kJbi01XcOoGI2m0g6GfDGrCS7aQdEgBRmyP1jf+R9f3ilmRa3uToabknnU+lCelXtqOq5V4kwKaoJQmwGLubmjAFTCbAz9id1IhfCfAhdhc14WO71fg2AiBq94C7HH8h68Z34BPwvt1q/P4DFjifX1SwAkkAAAAASUVORK5CYII="/></defs></svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 192 192" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1;">
|
||||
<g transform="matrix(1,0,0,1,-233.5,0)">
|
||||
<g id="GIF-export-" serif:id="GIF(export)" transform="matrix(1,0,0,1,233.5,-242)">
|
||||
<rect x="0" y="242" width="192" height="192" style="fill:none;"/>
|
||||
<g id="文档背景" transform="matrix(0.192771,0,0,0.21968,336.192771,253.203661)">
|
||||
<g transform="matrix(5.226799,0,0,4.552083,-1750.366477,-51)">
|
||||
<path d="M30,143L30,23.98C30,20.68 32.66,18 35.935,18L120.354,18L162,59.923L162,143L30,143Z" style="fill:rgb(248,250,252);"/>
|
||||
</g>
|
||||
<g transform="matrix(5.1875,0,0,4.552083,-1744,-51)">
|
||||
<path d="M120.038,18L162.077,60L125.957,60C122.688,60 120.038,57.35 120.038,54.081L120.038,18Z" style="fill:rgb(16,185,129);fill-opacity:0.5;"/>
|
||||
</g>
|
||||
<g id="底部" transform="matrix(1.007576,0,0,1,6.443582,0)">
|
||||
<g transform="matrix(5.1875,0,0,1.225561,-1743.600962,527.814904)">
|
||||
<path d="M162,66.948L162,125.052C162,152.067 156.139,174 148.921,174L43.079,174C35.861,174 30,152.067 30,125.052L30,66.948C30,39.933 35.861,18 43.079,18L148.921,18C156.139,18 162,39.933 162,66.948Z" style="fill:rgb(16,185,129);"/>
|
||||
</g>
|
||||
<g transform="matrix(4.99537,0,0,4.552083,-1712.860221,-51)">
|
||||
<rect x="25" y="132" width="137.077" height="22" style="fill:rgb(16,185,129);"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(1,0,0,1,-24.821092,255.962394)">
|
||||
<g transform="matrix(31.25,0,0,31.25,92.328214,149.80372)">
|
||||
<path d="M0.342,0.012C0.287,0.012 0.237,-0.001 0.192,-0.026C0.147,-0.051 0.111,-0.089 0.085,-0.139C0.058,-0.189 0.045,-0.25 0.045,-0.323C0.045,-0.395 0.059,-0.457 0.085,-0.508C0.112,-0.559 0.148,-0.598 0.193,-0.625C0.238,-0.651 0.289,-0.665 0.345,-0.665C0.389,-0.665 0.426,-0.656 0.457,-0.639C0.488,-0.622 0.514,-0.603 0.534,-0.582L0.459,-0.497C0.444,-0.512 0.429,-0.524 0.411,-0.533C0.394,-0.542 0.372,-0.546 0.345,-0.546C0.315,-0.546 0.288,-0.537 0.264,-0.52C0.24,-0.502 0.221,-0.477 0.207,-0.445C0.193,-0.412 0.186,-0.373 0.186,-0.328C0.186,-0.281 0.192,-0.241 0.205,-0.208C0.217,-0.175 0.236,-0.15 0.26,-0.133C0.284,-0.115 0.314,-0.106 0.35,-0.106C0.364,-0.106 0.377,-0.108 0.39,-0.112C0.404,-0.116 0.414,-0.122 0.422,-0.129L0.422,-0.251L0.321,-0.251L0.321,-0.363L0.544,-0.363L0.544,-0.066C0.523,-0.046 0.494,-0.028 0.458,-0.012C0.422,0.004 0.384,0.012 0.342,0.012Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,111.077928,149.80372)">
|
||||
<path d="M0.078,-0L0.078,-0.115L0.232,-0.115L0.232,-0.538L0.078,-0.538L0.078,-0.653L0.522,-0.653L0.522,-0.538L0.368,-0.538L0.368,-0.115L0.522,-0.115L0.522,-0L0.078,-0Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,129.827642,149.80372)">
|
||||
<path d="M0.11,-0L0.11,-0.653L0.538,-0.653L0.538,-0.538L0.246,-0.538L0.246,-0.375L0.495,-0.375L0.495,-0.26L0.246,-0.26L0.246,-0L0.11,-0Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,148.577356,149.80372)">
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(1.042067,0,0,1.470481,-504.094952,-475.205263)">
|
||||
<path d="M577.789,536.699L597,569L549,569C549.416,555.658 543.242,548.94 539.404,546.9C558.596,542.819 558.208,538.037 577.789,536.699Z" style="fill:rgb(248,250,252);stroke:rgb(73,217,169);stroke-width:2.94px;"/>
|
||||
</g>
|
||||
<g transform="matrix(1.042067,0,0,1.470481,-500.094952,-475.205263)">
|
||||
<path d="M587.385,535L597,569L549,569C549.416,555.658 547.081,547.58 541.323,540.099C558.785,539.334 573.16,536.425 587.385,535Z" style="fill:rgb(248,250,252);stroke:rgb(33,195,141);stroke-width:2.94px;"/>
|
||||
</g>
|
||||
<g transform="matrix(1.042067,0,0,1.470481,-496.094952,-475.205263)">
|
||||
<rect x="549" y="535" width="48" height="34" style="fill:rgb(248,250,252);"/>
|
||||
<clipPath id="_clip1">
|
||||
<rect x="549" y="535" width="48" height="34"/>
|
||||
</clipPath>
|
||||
<g clip-path="url(#_clip1)">
|
||||
<g transform="matrix(-1.020402,0,0,1,1158.200072,0)">
|
||||
<g transform="matrix(1.219837,0.326128,-0.460205,0.864447,430.623441,-37.614509)">
|
||||
<path d="M314.701,587.339C314.311,586.884 314.332,573.499 314.332,571.745C314.332,569.957 315.109,563.585 316.467,559.39C316.508,559.263 316.565,559.13 316.695,559.065C316.792,559 316.922,558.968 317.052,559.032C318.287,559.39 321.374,562.022 321.472,562.022C322.934,561.795 329.044,561.73 330.506,562.022C330.571,562.022 333.659,559.39 334.894,559.032C335.024,558.968 335.154,559 335.284,559.065C335.381,559.13 335.479,559.26 335.479,559.39C335.804,561.177 338.359,567.994 338.046,573.812C337.952,575.563 337.07,576.244 336.648,576.699C336.388,577.057 314.961,587.697 314.701,587.339Z" style="fill:none;stroke:rgb(16,185,129);stroke-width:2.14px;"/>
|
||||
</g>
|
||||
<g transform="matrix(-1.054409,0,0,1.202039,926.151367,432.040487)">
|
||||
<ellipse cx="335.5" cy="107" rx="1.5" ry="1" style="fill:rgb(16,185,129);"/>
|
||||
</g>
|
||||
<g transform="matrix(-1.038849,0,0,1.142554,910.389594,435.158377)">
|
||||
<ellipse cx="335.5" cy="107" rx="1.5" ry="1" style="fill:rgb(16,185,129);"/>
|
||||
</g>
|
||||
<g transform="matrix(-1.100452,-0.187672,0.358068,-1.05441,706.803105,1228.551028)">
|
||||
<path d="M314.028,574.46C314.028,574.46 316.518,572.261 318.713,574.583C318.824,574.7 318.912,574.846 319,575" style="fill:none;stroke:rgb(16,185,129);stroke-width:2.07px;"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<rect x="549" y="535" width="48" height="34" style="fill:none;stroke:rgb(16,185,129);stroke-width:2.94px;"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.6 KiB |
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="100%"
|
||||
height="100%"
|
||||
viewBox="0 0 192 192"
|
||||
version="1.1"
|
||||
xml:space="preserve"
|
||||
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"
|
||||
id="svg9"
|
||||
sodipodi:docname="jpeg.svg"
|
||||
inkscape:version="1.4.4 (dcaf3e7, 2026-05-05)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:serif="http://www.serif.com/"><sodipodi:namedview
|
||||
id="namedview9"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="3.3645833"
|
||||
inkscape:cx="95.851394"
|
||||
inkscape:cy="96.000001"
|
||||
inkscape:window-width="1536"
|
||||
inkscape:window-height="890"
|
||||
inkscape:window-x="-6"
|
||||
inkscape:window-y="-6"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg9" /><rect
|
||||
id="JPG-export-"
|
||||
serif:id="JPG(export)"
|
||||
x="0"
|
||||
y="0"
|
||||
width="192"
|
||||
height="192"
|
||||
style="fill:none;" /><g
|
||||
id="文档背景"><path
|
||||
d="M29,143l0,-119.02c0,-3.301 2.68,-5.98 5.98,-5.98l85.058,0l41.962,41.923l0,83.077l-133,0Z"
|
||||
style="fill:#f8fafc"
|
||||
id="path1" /><path
|
||||
d="M120.038,18l42.038,42l-36.12,0c-3.269,-0 -5.919,-2.65 -5.919,-5.919l0,-36.081Z"
|
||||
style="fill:#3b82f6;fill-opacity:0.5"
|
||||
id="path2" /><path
|
||||
d="M29,160.822l-0,-28.822l133,0l0,28.822c0,7.273 -5.905,13.178 -13.178,13.178l-106.644,0c-7.273,0 -13.178,-5.905 -13.178,-13.178Z"
|
||||
style="fill:#3b82f6"
|
||||
id="path3" /></g><g
|
||||
transform="matrix(31.25,0,0,31.25,67.761272,163.766113)"
|
||||
id="g4"><path
|
||||
d="M0.274,0.012c-0.036,0 -0.073,-0.008 -0.112,-0.024c-0.038,-0.016 -0.071,-0.044 -0.099,-0.083l0.079,-0.085c0.019,0.024 0.039,0.042 0.061,0.055c0.022,0.013 0.044,0.019 0.066,0.019c0.036,0 0.062,-0.009 0.08,-0.028c0.018,-0.019 0.027,-0.051 0.027,-0.097l0,-0.307l-0.258,0l0,-0.114l0.395,0l0,0.433c0,0.042 -0.008,0.081 -0.023,0.116c-0.015,0.035 -0.04,0.063 -0.075,0.084c-0.035,0.021 -0.082,0.031 -0.141,0.031Z"
|
||||
style="fill:#f8fafc;fill-rule:nonzero;"
|
||||
id="path4" /></g><g
|
||||
transform="matrix(31.25,0,0,31.25,86.510986,163.766113)"
|
||||
id="g5"><path
|
||||
d="M0.079,-0l0,-0.653l0.226,0c0.047,0 0.09,0.006 0.128,0.019c0.038,0.013 0.068,0.034 0.091,0.064c0.022,0.03 0.034,0.071 0.034,0.123c0,0.05 -0.011,0.091 -0.034,0.123c-0.023,0.032 -0.053,0.056 -0.092,0.071c-0.038,0.015 -0.081,0.023 -0.127,0.023l-0.089,0l0,0.228l-0.137,-0Zm0.137,-0.336l0.08,0c0.043,0 0.076,-0.009 0.096,-0.028c0.021,-0.019 0.031,-0.046 0.031,-0.081c0,-0.037 -0.011,-0.062 -0.032,-0.077c-0.022,-0.014 -0.053,-0.022 -0.095,-0.022l-0.08,0l0,0.207Z"
|
||||
style="fill:#f8fafc;fill-rule:nonzero;"
|
||||
id="path5" /></g><g
|
||||
transform="matrix(31.25,0,0,31.25,105.2607,163.766113)"
|
||||
id="g6"><path
|
||||
d="M0.342,0.012c-0.055,0 -0.105,-0.013 -0.15,-0.038c-0.045,-0.025 -0.081,-0.063 -0.107,-0.113c-0.026,-0.05 -0.04,-0.111 -0.04,-0.184c-0,-0.072 0.013,-0.134 0.04,-0.185c0.027,-0.051 0.063,-0.09 0.108,-0.117c0.045,-0.027 0.096,-0.04 0.152,-0.04c0.044,0 0.081,0.008 0.112,0.026c0.031,0.017 0.056,0.036 0.077,0.057l-0.075,0.085c-0.014,-0.015 -0.03,-0.027 -0.047,-0.036c-0.017,-0.009 -0.039,-0.013 -0.066,-0.013c-0.03,0 -0.058,0.009 -0.082,0.026c-0.024,0.018 -0.043,0.043 -0.057,0.075c-0.014,0.033 -0.021,0.072 -0.021,0.117c0,0.046 0.006,0.086 0.019,0.119c0.012,0.033 0.031,0.058 0.055,0.076c0.024,0.018 0.054,0.026 0.09,0.026c0.014,0 0.027,-0.002 0.041,-0.006c0.013,-0.004 0.024,-0.009 0.031,-0.017l0,-0.122l-0.101,0l0,-0.112l0.224,0l0,0.296c-0.022,0.02 -0.05,0.039 -0.086,0.055c-0.036,0.016 -0.075,0.024 -0.116,0.024Z"
|
||||
style="fill:#f8fafc;fill-rule:nonzero;"
|
||||
id="path6" /></g><g
|
||||
transform="matrix(31.25,0,0,31.25,124.010414,163.766113)"
|
||||
id="g7" /><g
|
||||
id="文档符号"><path
|
||||
d="M53.75,117c0,0 17.005,-22.869 24.972,-33.582c0.969,-1.303 2.484,-2.087 4.107,-2.126c1.623,-0.039 3.174,0.672 4.204,1.927c8.72,10.627 27.718,33.781 27.718,33.781"
|
||||
style="fill:none;stroke:#3b82f6;stroke-width:6.25px;"
|
||||
id="path7" /><path
|
||||
d="M103.22,102c-0,-0 3.94,-4.938 6.964,-8.727c0.845,-1.06 2.117,-1.69 3.472,-1.723c1.355,-0.033 2.655,0.536 3.551,1.553c6.849,7.778 21.043,23.897 21.043,23.897"
|
||||
style="fill:none;stroke:#3b82f6;stroke-opacity:0.65;stroke-width:6.25px;"
|
||||
id="path8" /><use
|
||||
xlink:href="#_Image1"
|
||||
x="99.724"
|
||||
y="88.423"
|
||||
width="42px"
|
||||
height="32px"
|
||||
id="use8" /><circle
|
||||
cx="106"
|
||||
cy="72"
|
||||
r="6"
|
||||
style="fill:#3b82f6;"
|
||||
id="circle8" /><use
|
||||
xlink:href="#_Image2"
|
||||
x="50.625"
|
||||
y="78.165"
|
||||
width="68px"
|
||||
height="42px"
|
||||
id="use9" /></g><defs
|
||||
id="defs9"><image
|
||||
id="_Image1"
|
||||
width="42px"
|
||||
height="32px"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAgCAYAAABkWOo9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACL0lEQVRYhcWYTW/TQBBAXxzaiIVABeWrQFRBERSKCv3iMP9tD/vb2BMoEgKBVCFoQRUHDlBRpiCqlIOt0BKvs7Hj5B03s6MnZ3dm7AaRiNMW0AHmgXa2/AP4Bux6aw5jc5WhERMkTjvACpAEQo6Bd96aD+MS+5+houL0IXAnMt8XoOutOa5klUPoCQEgTu8SLwlwA3hcyShAUFScXgGWS+TsiNN75ZXyyRUVpwZYq5D3vji9VWH/AAOi4rQJbAIzFXOvZv/KWMh7oqv8Kz9VaADr4vTCGHKdFs0uz8I4EmecAZ6J07NVE/VFxek88KBqwhxawJY4rXSUEuhfnnUiG0AJ2sCGOC0sh0Uk2eXZoPrlGcZl0vNfigRYAsZy4CO4KU5LHa+EdNCYJEvidHHUTaXPTEUeidNro2xIgL2aZIpoAGvidC52QwJsAwe1KYVpkpYtExOceGuOgBfAn1q18pklbQizwwITAG/NT6BLOgBPmnOkT7ZZFNS/TN6ar8Dbuq0CzAFPiwJO3XpvzUfgc51GBVwXpyuhH/PK02vSF7ZpsJgNRgMMiHpresBL4FfdVgGWxenABJdb8L01v0krQa9uqwBPxOmlkwvBzuSt2Qde1a6UTwJsitPzJxeCeGv2gPd1WwWYIa2xLYj/ALEFXK3TqoB94HnsUNJlOm0W4CJwO0p0ym0WoB095k25zR6ONI9mbfYNk5U9AD6VepnLatwCEDWilaQHfAd2vDVHfwFwVYfhCbkXoQAAAABJRU5ErkJggg==" /><image
|
||||
id="_Image2"
|
||||
width="68px"
|
||||
height="42px"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAqCAYAAAAK7f2YAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACq0lEQVRogeWZu27UUBCGvzhIQasERC4gSLgmpAgQEAUJGRoQCQUBERGyieBZtpgH4TFoqLfgDRA9DRIFEhqJS0Fhs0rCXmzv+BwnfKXXnjP6PfL51h4hEqK2CDwEzgCfgXftVuNrrH7+MhJjUVG7AWwfOvwDeNtuNb5EaKlDEnpBUTsPvOjy0xjwRtROBW7pAEEDEbVxYBc40eOUCdJQTobr6iDBAhG1UWAHGDQBM8CuqPUKrVJCTsgmcDHnuZeBLVEL/owLEoiorQB3Cl62BGxU0E5fKg9E1K4BT0pevipq9z37GUSlgYjaJPCK4bb3DVG76dTSQCoLRNTGgD3AY8fYErUrDnUGUkkg2cPwJTDtVDIh3XnOOtXru1AVPAKuO9cMIm7ugYjaLeCBd92MysXNNRBRuwA896zZhUrFzS2QHFruSWXi5hJIdreapCMdiiXK+01PvCbkKTDnVKsIK97iNnQgorZKcS33xFXchgpE1OaJ8H+jC1uidtWjUOlARG2K9K1XlLduh0iApqid8yhUGGct92IMeC1qp4cpUjiQbKvbBqaGWbgiJkhDKX2jykzIY2Ch7IIBmAH2yopboUBEbRlYK7NQYC5RUtxyByJqs1Sv5Z6UErdcgYjaBKmWjxZdIDKFxW1gIPu0fLxsV5EpJG55JuQZMFu+n1qQW9z6BiJqa8CyS0txyS1uPQMRtQXSLfa4kEvcugYiatPUR8s9GShu/wSSnbxLmuhxpK+4HQik5lruSU9xOzwh68B8kJbi01XcOoGI2m0g6GfDGrCS7aQdEgBRmyP1jf+R9f3ilmRa3uToabknnU+lCelXtqOq5V4kwKaoJQmwGLubmjAFTCbAz9id1IhfCfAhdhc14WO71fg2AiBq94C7HH8h68Z34BPwvt1q/P4DFjifX1SwAkkAAAAASUVORK5CYII=" /><filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter10"
|
||||
x="-0.18034807"
|
||||
y="-0.15384615"
|
||||
width="1.4057832"
|
||||
height="1.3461538"><feFlood
|
||||
result="flood"
|
||||
in="SourceGraphic"
|
||||
flood-opacity="0.501961"
|
||||
flood-color="rgb(0,0,0)"
|
||||
id="feFlood9" /><feGaussianBlur
|
||||
result="blur"
|
||||
in="SourceGraphic"
|
||||
stdDeviation="10.000000"
|
||||
id="feGaussianBlur9" /><feOffset
|
||||
result="offset"
|
||||
in="blur"
|
||||
dx="6.000000"
|
||||
dy="6.000000"
|
||||
id="feOffset9" /><feComposite
|
||||
result="comp1"
|
||||
operator="in"
|
||||
in="flood"
|
||||
in2="offset"
|
||||
id="feComposite9" /><feComposite
|
||||
result="comp2"
|
||||
operator="over"
|
||||
in="SourceGraphic"
|
||||
in2="comp1"
|
||||
id="feComposite10" /></filter></defs></svg>
|
||||
|
After Width: | Height: | Size: 7.9 KiB |
@@ -0,0 +1,215 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="100%"
|
||||
height="100%"
|
||||
viewBox="0 0 192 192"
|
||||
version="1.1"
|
||||
xml:space="preserve"
|
||||
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"
|
||||
id="svg15"
|
||||
sodipodi:docname="png.svg"
|
||||
inkscape:version="1.4.4 (dcaf3e7, 2026-05-05)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:serif="http://www.serif.com/"><defs
|
||||
id="defs15"><filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter16"
|
||||
x="-0.034765612"
|
||||
y="-0.033796866"
|
||||
width="1.0782226"
|
||||
height="1.0760429"><feFlood
|
||||
result="flood"
|
||||
in="SourceGraphic"
|
||||
flood-opacity="0.501961"
|
||||
flood-color="rgb(0,0,0)"
|
||||
id="feFlood15" /><feGaussianBlur
|
||||
result="blur"
|
||||
in="SourceGraphic"
|
||||
stdDeviation="10.000000"
|
||||
id="feGaussianBlur15" /><feOffset
|
||||
result="offset"
|
||||
in="blur"
|
||||
dx="6.000000"
|
||||
dy="6.000000"
|
||||
id="feOffset15" /><feComposite
|
||||
result="comp1"
|
||||
operator="in"
|
||||
in="flood"
|
||||
in2="offset"
|
||||
id="feComposite15" /><feComposite
|
||||
result="comp2"
|
||||
operator="over"
|
||||
in="SourceGraphic"
|
||||
in2="comp1"
|
||||
id="feComposite16" /></filter></defs><sodipodi:namedview
|
||||
id="namedview15"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="3.3645833"
|
||||
inkscape:cx="95.851394"
|
||||
inkscape:cy="96.000001"
|
||||
inkscape:window-width="1536"
|
||||
inkscape:window-height="890"
|
||||
inkscape:window-x="-6"
|
||||
inkscape:window-y="-6"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="PNG-export-" />
|
||||
<g
|
||||
transform="matrix(1,0,0,1,-469.5,0)"
|
||||
id="g15">
|
||||
<g
|
||||
id="PNG-export-"
|
||||
serif:id="PNG(export)"
|
||||
transform="matrix(0.192771,0,0,0.21968,805.692771,11.203661)">
|
||||
<rect
|
||||
x="-1744"
|
||||
y="-51"
|
||||
width="996"
|
||||
height="874"
|
||||
style="fill:none;"
|
||||
id="rect1" />
|
||||
<g
|
||||
id="文档背景">
|
||||
<g
|
||||
transform="matrix(5.226799,0,0,4.552083,-1750.366477,-51)"
|
||||
id="g1">
|
||||
<path
|
||||
d="M30,143L30,23.98C30,20.68 32.66,18 35.935,18L120.354,18L162,59.923L162,143L30,143Z"
|
||||
style="fill:rgb(248, 250, 252)"
|
||||
id="path1" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(5.1875,0,0,4.552083,-1744,-51)"
|
||||
id="g2">
|
||||
<path
|
||||
d="M120.038,18L162.077,60L125.957,60C122.688,60 120.038,57.35 120.038,54.081L120.038,18Z"
|
||||
style="fill:rgb(139, 92, 246);fill-opacity:0.5"
|
||||
id="path2" />
|
||||
</g>
|
||||
<g
|
||||
id="底部"
|
||||
transform="matrix(1.007576,0,0,1,6.443582,0)">
|
||||
<g
|
||||
transform="matrix(5.1875,0,0,1.225561,-1743.600962,527.814904)"
|
||||
id="g3">
|
||||
<path
|
||||
d="M162,66.948L162,125.052C162,152.067 156.139,174 148.921,174L43.079,174C35.861,174 30,152.067 30,125.052L30,66.948C30,39.933 35.861,18 43.079,18L148.921,18C156.139,18 162,39.933 162,66.948Z"
|
||||
style="fill:rgb(139, 92, 246)"
|
||||
id="path3" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(4.99537,0,0,4.552083,-1712.860221,-51)"
|
||||
id="g4">
|
||||
<rect
|
||||
x="25"
|
||||
y="132"
|
||||
width="137.077"
|
||||
height="22"
|
||||
style="fill:rgb(139, 92, 246)"
|
||||
id="rect3" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(5.1875,0,0,4.552083,-1872.759414,12.55798)"
|
||||
id="g9">
|
||||
<g
|
||||
transform="matrix(31.25,0,0,31.25,92.328214,149.80372)"
|
||||
id="g5">
|
||||
<path
|
||||
d="M0.079,-0L0.079,-0.653L0.305,-0.653C0.352,-0.653 0.395,-0.646 0.433,-0.633C0.471,-0.62 0.502,-0.599 0.524,-0.569C0.547,-0.539 0.558,-0.498 0.558,-0.446C0.558,-0.396 0.547,-0.355 0.524,-0.322C0.501,-0.29 0.47,-0.266 0.432,-0.251C0.394,-0.235 0.351,-0.228 0.305,-0.228L0.216,-0.228L0.216,-0L0.079,-0ZM0.216,-0.336L0.296,-0.336C0.339,-0.336 0.372,-0.346 0.392,-0.364C0.413,-0.383 0.424,-0.41 0.424,-0.446C0.424,-0.482 0.413,-0.508 0.391,-0.522C0.37,-0.537 0.338,-0.544 0.296,-0.544L0.216,-0.544L0.216,-0.336Z"
|
||||
style="fill:rgb(248,250,252);fill-rule:nonzero;"
|
||||
id="path4" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(31.25,0,0,31.25,111.077928,149.80372)"
|
||||
id="g6">
|
||||
<path
|
||||
d="M0.069,-0L0.069,-0.652L0.21,-0.652L0.359,-0.314L0.416,-0.172L0.42,-0.172C0.417,-0.206 0.413,-0.244 0.408,-0.285C0.403,-0.326 0.401,-0.366 0.401,-0.404L0.401,-0.652L0.531,-0.652L0.531,-0L0.39,-0L0.241,-0.339L0.184,-0.481L0.18,-0.481C0.183,-0.445 0.187,-0.407 0.192,-0.367C0.197,-0.327 0.199,-0.287 0.199,-0.25L0.199,-0L0.069,-0Z"
|
||||
style="fill:rgb(248,250,252);fill-rule:nonzero;"
|
||||
id="path5" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(31.25,0,0,31.25,129.827642,149.80372)"
|
||||
id="g7">
|
||||
<path
|
||||
d="M0.342,0.012C0.287,0.012 0.237,-0.001 0.192,-0.026C0.147,-0.051 0.111,-0.089 0.085,-0.139C0.058,-0.189 0.045,-0.25 0.045,-0.323C0.045,-0.395 0.059,-0.457 0.085,-0.508C0.112,-0.559 0.148,-0.598 0.193,-0.625C0.238,-0.651 0.289,-0.665 0.345,-0.665C0.389,-0.665 0.426,-0.656 0.457,-0.639C0.488,-0.622 0.514,-0.603 0.534,-0.582L0.459,-0.497C0.444,-0.512 0.429,-0.524 0.411,-0.533C0.394,-0.542 0.372,-0.546 0.345,-0.546C0.315,-0.546 0.288,-0.537 0.264,-0.52C0.24,-0.502 0.221,-0.477 0.207,-0.445C0.193,-0.412 0.186,-0.373 0.186,-0.328C0.186,-0.281 0.192,-0.241 0.205,-0.208C0.217,-0.175 0.236,-0.15 0.26,-0.133C0.284,-0.115 0.314,-0.106 0.35,-0.106C0.364,-0.106 0.377,-0.108 0.39,-0.112C0.404,-0.116 0.414,-0.122 0.422,-0.129L0.422,-0.251L0.321,-0.251L0.321,-0.363L0.544,-0.363L0.544,-0.066C0.523,-0.046 0.494,-0.028 0.458,-0.012C0.422,0.004 0.384,0.012 0.342,0.012Z"
|
||||
style="fill:rgb(248,250,252);fill-rule:nonzero;"
|
||||
id="path6" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(31.25,0,0,31.25,148.577356,149.80372)"
|
||||
id="g8">
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="文档符号">
|
||||
<g
|
||||
transform="matrix(10.375,0,0,4.552083,-1977.33774,117.427083)"
|
||||
id="g10">
|
||||
<path
|
||||
d="M87,45L87,87L66,87L66,66L76.5,66L76.5,45L87,45Z"
|
||||
style="fill:rgb(139,92,246);"
|
||||
id="path9" />
|
||||
</g>
|
||||
<g
|
||||
id="棋盘格"
|
||||
transform="matrix(1,0,0,1,0,-4.552083)">
|
||||
<g
|
||||
transform="matrix(5.1875,0,0,4.552083,-1744.199519,-69.208333)"
|
||||
id="g11">
|
||||
<rect
|
||||
x="66"
|
||||
y="66"
|
||||
width="21"
|
||||
height="21"
|
||||
style="fill:rgb(139,92,246);fill-opacity:0.2;"
|
||||
id="rect10" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(5.1875,0,0,4.552083,-1635.0625,-69.208333)"
|
||||
id="g12">
|
||||
<rect
|
||||
x="66"
|
||||
y="66"
|
||||
width="21"
|
||||
height="21"
|
||||
style="fill:rgb(139,92,246);fill-opacity:0.5;"
|
||||
id="rect11" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(5.1875,0,0,4.552083,-1634.96274,26.385417)"
|
||||
id="g13">
|
||||
<rect
|
||||
x="66"
|
||||
y="66"
|
||||
width="21"
|
||||
height="21"
|
||||
style="fill:rgb(139,92,246);fill-opacity:0.2;"
|
||||
id="rect12" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(5.1875,0,0,4.552083,-1744.09976,26.385417)"
|
||||
id="g14">
|
||||
<rect
|
||||
x="66"
|
||||
y="66"
|
||||
width="21"
|
||||
height="21"
|
||||
style="fill:rgb(139,92,246);fill-opacity:0.5;"
|
||||
id="rect13" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.6 KiB |
@@ -0,0 +1,50 @@
|
||||
[package]
|
||||
name = "ChestnutSoftware.PineapplePictures"
|
||||
version = "1.6.0.0"
|
||||
|
||||
[display]
|
||||
name = "Pineapple Pictures"
|
||||
publisherName = "Chestnut Software"
|
||||
|
||||
[display.zh-CN]
|
||||
name = "菠萝看图"
|
||||
|
||||
[application]
|
||||
id = "PineapplePictures"
|
||||
executable = "ppic.exe"
|
||||
|
||||
[icon]
|
||||
source = "../../assets/icons/app-icon.svg"
|
||||
|
||||
[[fileAssociations]]
|
||||
name = "jpgimages"
|
||||
extensions = ["jpg", "jfif", "jpeg"]
|
||||
logo = "jpeg.svg"
|
||||
|
||||
[[fileAssociations]]
|
||||
name = "pngimages"
|
||||
extensions = ["png"]
|
||||
logo = "png.svg"
|
||||
|
||||
[[fileAssociations]]
|
||||
name = "gifimages"
|
||||
extensions = ["gif"]
|
||||
logo = "gif.svg"
|
||||
|
||||
[[fileAssociations]]
|
||||
name = "svgimages"
|
||||
extensions = ["svg"]
|
||||
logo = "svg.svg"
|
||||
|
||||
[[fileAssociations]]
|
||||
name = "psdimages"
|
||||
extensions = ["psd", "psb", "pdd"]
|
||||
logo = "psd.svg"
|
||||
|
||||
[[fileAssociations]]
|
||||
name = "genericimages"
|
||||
extensions = ["tiff", "tif", "webp", "avif", "bmp", "qoi", "tga", "xcf", "kra", "icns", "ora", "ico"]
|
||||
logo = "generic.svg"
|
||||
|
||||
[resources]
|
||||
languages = ["zh-CN", "en-US"]
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 192 192" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<g transform="matrix(1,0,0,1,-234,-2)">
|
||||
<g id="PSD-export-" serif:id="PSD(export)" transform="matrix(0.192771,0,0,0.21968,570.192771,13.203661)">
|
||||
<rect x="-1744" y="-51" width="996" height="874" style="fill:none;"/>
|
||||
<g id="文档背景">
|
||||
<g transform="matrix(5.226799,0,0,4.552083,-1750.366477,-51)">
|
||||
<path d="M30,143L30,23.98C30,20.68 32.66,18 35.935,18L120.354,18L162,59.923L162,143L30,143Z" style="fill:rgb(248,250,252);"/>
|
||||
</g>
|
||||
<g transform="matrix(5.1875,0,0,4.552083,-1744,-51)">
|
||||
<path d="M120.038,18L162.077,60L125.957,60C122.688,60 120.038,57.35 120.038,54.081L120.038,18Z" style="fill:rgb(0,52,90);fill-opacity:0.5;"/>
|
||||
</g>
|
||||
<g id="底部" transform="matrix(1.007576,0,0,1,6.443582,0)">
|
||||
<g transform="matrix(5.1875,0,0,1.225561,-1743.600962,527.814904)">
|
||||
<path d="M162,66.948L162,125.052C162,152.067 156.139,174 148.921,174L43.079,174C35.861,174 30,152.067 30,125.052L30,66.948C30,39.933 35.861,18 43.079,18L148.921,18C156.139,18 162,39.933 162,66.948Z" style="fill:rgb(0,52,90);"/>
|
||||
</g>
|
||||
<g transform="matrix(4.99537,0,0,4.552083,-1712.860221,-51)">
|
||||
<rect x="25" y="132" width="137.077" height="22" style="fill:rgb(0,52,90);"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(5.1875,0,0,4.552083,-1872.759414,12.55798)">
|
||||
<g transform="matrix(31.25,0,0,31.25,92.328214,149.80372)">
|
||||
<path d="M0.079,-0L0.079,-0.653L0.305,-0.653C0.352,-0.653 0.395,-0.646 0.433,-0.633C0.471,-0.62 0.502,-0.599 0.524,-0.569C0.547,-0.539 0.558,-0.498 0.558,-0.446C0.558,-0.396 0.547,-0.355 0.524,-0.322C0.501,-0.29 0.47,-0.266 0.432,-0.251C0.394,-0.235 0.351,-0.228 0.305,-0.228L0.216,-0.228L0.216,-0L0.079,-0ZM0.216,-0.336L0.296,-0.336C0.339,-0.336 0.372,-0.346 0.392,-0.364C0.413,-0.383 0.424,-0.41 0.424,-0.446C0.424,-0.482 0.413,-0.508 0.391,-0.522C0.37,-0.537 0.338,-0.544 0.296,-0.544L0.216,-0.544L0.216,-0.336Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,111.077928,149.80372)">
|
||||
<path d="M0.3,0.012C0.255,0.012 0.211,0.004 0.168,-0.012C0.125,-0.029 0.087,-0.052 0.053,-0.083L0.132,-0.177C0.157,-0.156 0.184,-0.139 0.214,-0.126C0.245,-0.113 0.276,-0.106 0.308,-0.106C0.342,-0.106 0.367,-0.112 0.384,-0.124C0.4,-0.137 0.409,-0.152 0.409,-0.17C0.409,-0.187 0.404,-0.201 0.396,-0.211C0.387,-0.221 0.375,-0.229 0.36,-0.237C0.344,-0.244 0.326,-0.252 0.305,-0.26L0.219,-0.297C0.195,-0.307 0.173,-0.319 0.152,-0.334C0.13,-0.35 0.113,-0.369 0.1,-0.392C0.087,-0.415 0.08,-0.442 0.08,-0.474C0.08,-0.509 0.09,-0.542 0.11,-0.57C0.129,-0.599 0.157,-0.622 0.192,-0.639C0.228,-0.656 0.269,-0.665 0.315,-0.665C0.354,-0.665 0.393,-0.657 0.43,-0.643C0.468,-0.628 0.5,-0.607 0.529,-0.58L0.46,-0.493C0.437,-0.51 0.414,-0.523 0.391,-0.533C0.368,-0.542 0.34,-0.546 0.308,-0.546C0.281,-0.546 0.26,-0.541 0.243,-0.53C0.227,-0.519 0.218,-0.503 0.218,-0.482C0.218,-0.467 0.223,-0.455 0.233,-0.446C0.242,-0.437 0.255,-0.429 0.271,-0.422C0.288,-0.414 0.306,-0.407 0.326,-0.399L0.408,-0.364C0.437,-0.354 0.461,-0.341 0.482,-0.325C0.503,-0.309 0.52,-0.29 0.531,-0.268C0.543,-0.245 0.548,-0.218 0.548,-0.187C0.548,-0.152 0.539,-0.119 0.519,-0.088C0.5,-0.058 0.471,-0.034 0.434,-0.015C0.397,0.003 0.352,0.012 0.3,0.012Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,129.827642,149.80372)">
|
||||
<path d="M0.073,-0L0.073,-0.653L0.25,-0.653C0.314,-0.653 0.369,-0.641 0.416,-0.618C0.462,-0.595 0.498,-0.559 0.524,-0.511C0.549,-0.464 0.562,-0.403 0.562,-0.329C0.562,-0.255 0.549,-0.194 0.524,-0.145C0.499,-0.096 0.463,-0.06 0.418,-0.036C0.372,-0.012 0.319,-0 0.258,-0L0.073,-0ZM0.21,-0.11L0.242,-0.11C0.279,-0.11 0.311,-0.118 0.338,-0.132C0.365,-0.147 0.385,-0.17 0.4,-0.202C0.414,-0.234 0.422,-0.276 0.422,-0.329C0.422,-0.382 0.414,-0.423 0.4,-0.454C0.385,-0.486 0.365,-0.508 0.338,-0.522C0.311,-0.535 0.279,-0.542 0.242,-0.542L0.21,-0.542L0.21,-0.11Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,148.577356,149.80372)">
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(5.1875,0,0,4.552083,-2947.5,-37.34375)">
|
||||
<path d="M356,73.359L356,105.641C356,112.462 350.462,118 343.641,118L311.359,118C304.538,118 299,112.462 299,105.641L299,73.359C299,66.538 304.538,61 311.359,61L343.641,61C350.462,61 356,66.538 356,73.359Z" style="fill:rgb(0,30,54);"/>
|
||||
</g>
|
||||
<g transform="matrix(5.1875,0,0,4.552083,-1868.086637,-257.182297)">
|
||||
<g transform="matrix(37.5,0,0,37.5,99.078128,149.80372)">
|
||||
<path d="M0.079,-0L0.079,-0.653L0.305,-0.653C0.352,-0.653 0.395,-0.646 0.433,-0.633C0.471,-0.62 0.502,-0.599 0.524,-0.569C0.547,-0.539 0.558,-0.498 0.558,-0.446C0.558,-0.396 0.547,-0.355 0.524,-0.322C0.501,-0.29 0.47,-0.266 0.432,-0.251C0.394,-0.235 0.351,-0.228 0.305,-0.228L0.216,-0.228L0.216,-0L0.079,-0ZM0.216,-0.336L0.296,-0.336C0.339,-0.336 0.372,-0.346 0.392,-0.364C0.413,-0.383 0.424,-0.41 0.424,-0.446C0.424,-0.482 0.413,-0.508 0.391,-0.522C0.37,-0.537 0.338,-0.544 0.296,-0.544L0.216,-0.544L0.216,-0.336Z" style="fill:rgb(49,168,255);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(37.5,0,0,37.5,119.327785,149.80372)">
|
||||
<path d="M0.298,0.012C0.254,0.012 0.21,0.004 0.167,-0.011C0.124,-0.026 0.087,-0.044 0.056,-0.064L0.114,-0.149C0.144,-0.13 0.176,-0.115 0.21,-0.105C0.244,-0.094 0.279,-0.089 0.317,-0.089C0.346,-0.089 0.368,-0.094 0.382,-0.103C0.396,-0.113 0.403,-0.124 0.403,-0.137C0.403,-0.145 0.401,-0.151 0.397,-0.157C0.394,-0.163 0.387,-0.168 0.378,-0.173C0.369,-0.177 0.356,-0.182 0.34,-0.186C0.323,-0.191 0.302,-0.196 0.276,-0.201C0.21,-0.216 0.161,-0.235 0.132,-0.26C0.102,-0.285 0.087,-0.316 0.087,-0.354C0.087,-0.399 0.107,-0.436 0.146,-0.464C0.186,-0.492 0.241,-0.506 0.311,-0.506C0.354,-0.506 0.394,-0.5 0.43,-0.486C0.466,-0.472 0.497,-0.456 0.522,-0.439L0.461,-0.357C0.436,-0.373 0.41,-0.385 0.382,-0.393C0.354,-0.401 0.326,-0.405 0.298,-0.405C0.281,-0.405 0.267,-0.403 0.255,-0.4C0.244,-0.396 0.236,-0.39 0.231,-0.384C0.225,-0.377 0.222,-0.369 0.222,-0.361C0.222,-0.346 0.231,-0.335 0.25,-0.328C0.268,-0.321 0.298,-0.312 0.341,-0.303C0.393,-0.291 0.433,-0.278 0.462,-0.264C0.49,-0.25 0.51,-0.233 0.521,-0.214C0.532,-0.195 0.538,-0.172 0.538,-0.145C0.538,-0.116 0.529,-0.09 0.511,-0.066C0.492,-0.042 0.465,-0.023 0.43,-0.009C0.394,0.005 0.35,0.012 0.298,0.012Z" style="fill:rgb(49,168,255);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(37.5,0,0,37.5,141.827441,149.80372)">
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.3 KiB |
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 192 192" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
|
||||
<g transform="matrix(1,0,0,1,-955,-3)">
|
||||
<g id="SVG-export-" serif:id="SVG(export)" transform="matrix(1,0,0,1,713,-239)">
|
||||
<rect x="242" y="242" width="192" height="192" style="fill:none;"/>
|
||||
<g id="文档背景" transform="matrix(0.192771,0,0,0.21968,578.192771,253.203661)">
|
||||
<g transform="matrix(5.226799,0,0,4.552083,-1750.366477,-51)">
|
||||
<path d="M30,143L30,23.98C30,20.68 32.66,18 35.935,18L120.354,18L162,59.923L162,143L30,143Z" style="fill:rgb(248,250,252);"/>
|
||||
</g>
|
||||
<g transform="matrix(5.1875,0,0,4.552083,-1744,-51)">
|
||||
<path d="M120.038,18L162.077,60L125.957,60C122.688,60 120.038,57.35 120.038,54.081L120.038,18Z" style="fill:rgb(245,158,11);fill-opacity:0.5;"/>
|
||||
</g>
|
||||
<g id="底部" transform="matrix(1.007576,0,0,1,6.443582,0)">
|
||||
<g transform="matrix(5.1875,0,0,1.225561,-1743.600962,527.814904)">
|
||||
<path d="M162,66.948L162,125.052C162,152.067 156.139,174 148.921,174L43.079,174C35.861,174 30,152.067 30,125.052L30,66.948C30,39.933 35.861,18 43.079,18L148.921,18C156.139,18 162,39.933 162,66.948Z" style="fill:rgb(245,158,11);"/>
|
||||
</g>
|
||||
<g transform="matrix(4.99537,0,0,4.552083,-1712.860221,-51)">
|
||||
<rect x="25" y="132" width="137.077" height="22" style="fill:rgb(245,158,11);"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(1,0,0,1,217.407431,255.962394)">
|
||||
<g transform="matrix(31.25,0,0,31.25,92.328214,149.80372)">
|
||||
<path d="M0.3,0.012C0.255,0.012 0.211,0.004 0.168,-0.012C0.125,-0.029 0.087,-0.052 0.053,-0.083L0.132,-0.177C0.157,-0.156 0.184,-0.139 0.214,-0.126C0.245,-0.113 0.276,-0.106 0.308,-0.106C0.342,-0.106 0.367,-0.112 0.384,-0.124C0.4,-0.137 0.409,-0.152 0.409,-0.17C0.409,-0.187 0.404,-0.201 0.396,-0.211C0.387,-0.221 0.375,-0.229 0.36,-0.237C0.344,-0.244 0.326,-0.252 0.305,-0.26L0.219,-0.297C0.195,-0.307 0.173,-0.319 0.152,-0.334C0.13,-0.35 0.113,-0.369 0.1,-0.392C0.087,-0.415 0.08,-0.442 0.08,-0.474C0.08,-0.509 0.09,-0.542 0.11,-0.57C0.129,-0.599 0.157,-0.622 0.192,-0.639C0.228,-0.656 0.269,-0.665 0.315,-0.665C0.354,-0.665 0.393,-0.657 0.43,-0.643C0.468,-0.628 0.5,-0.607 0.529,-0.58L0.46,-0.493C0.437,-0.51 0.414,-0.523 0.391,-0.533C0.368,-0.542 0.34,-0.546 0.308,-0.546C0.281,-0.546 0.26,-0.541 0.243,-0.53C0.227,-0.519 0.218,-0.503 0.218,-0.482C0.218,-0.467 0.223,-0.455 0.233,-0.446C0.242,-0.437 0.255,-0.429 0.271,-0.422C0.288,-0.414 0.306,-0.407 0.326,-0.399L0.408,-0.364C0.437,-0.354 0.461,-0.341 0.482,-0.325C0.503,-0.309 0.52,-0.29 0.531,-0.268C0.543,-0.245 0.548,-0.218 0.548,-0.187C0.548,-0.152 0.539,-0.119 0.519,-0.088C0.5,-0.058 0.471,-0.034 0.434,-0.015C0.397,0.003 0.352,0.012 0.3,0.012Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,111.077928,149.80372)">
|
||||
<path d="M0.218,-0L0.019,-0.653L0.164,-0.653L0.247,-0.34C0.258,-0.304 0.267,-0.269 0.274,-0.236C0.282,-0.202 0.291,-0.167 0.301,-0.13L0.305,-0.13C0.316,-0.167 0.325,-0.202 0.333,-0.236C0.341,-0.269 0.35,-0.304 0.359,-0.34L0.441,-0.653L0.581,-0.653L0.382,-0L0.218,-0Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,129.827642,149.80372)">
|
||||
<path d="M0.342,0.012C0.287,0.012 0.237,-0.001 0.192,-0.026C0.147,-0.051 0.111,-0.089 0.085,-0.139C0.058,-0.189 0.045,-0.25 0.045,-0.323C0.045,-0.395 0.059,-0.457 0.085,-0.508C0.112,-0.559 0.148,-0.598 0.193,-0.625C0.238,-0.651 0.289,-0.665 0.345,-0.665C0.389,-0.665 0.426,-0.656 0.457,-0.639C0.488,-0.622 0.514,-0.603 0.534,-0.582L0.459,-0.497C0.444,-0.512 0.429,-0.524 0.411,-0.533C0.394,-0.542 0.372,-0.546 0.345,-0.546C0.315,-0.546 0.288,-0.537 0.264,-0.52C0.24,-0.502 0.221,-0.477 0.207,-0.445C0.193,-0.412 0.186,-0.373 0.186,-0.328C0.186,-0.281 0.192,-0.241 0.205,-0.208C0.217,-0.175 0.236,-0.15 0.26,-0.133C0.284,-0.115 0.314,-0.106 0.35,-0.106C0.364,-0.106 0.377,-0.108 0.39,-0.112C0.404,-0.116 0.414,-0.122 0.422,-0.129L0.422,-0.251L0.321,-0.251L0.321,-0.363L0.544,-0.363L0.544,-0.066C0.523,-0.046 0.494,-0.028 0.458,-0.012C0.422,0.004 0.384,0.012 0.342,0.012Z" style="fill:rgb(248,250,252);fill-rule:nonzero;"/>
|
||||
</g>
|
||||
<g transform="matrix(31.25,0,0,31.25,148.577356,149.80372)">
|
||||
</g>
|
||||
</g>
|
||||
<g transform="matrix(1,0,0,1,0,1)">
|
||||
<path d="M309,307L367,307" style="fill:none;stroke:rgb(59,130,246);stroke-opacity:0.7;stroke-width:2.08px;"/>
|
||||
</g>
|
||||
<g transform="matrix(1,0,0,1,3,54)">
|
||||
<path d="M309,307L367,307" style="fill:none;stroke:rgb(59,130,246);stroke-opacity:0.7;stroke-width:2.08px;"/>
|
||||
</g>
|
||||
<g transform="matrix(1,0,0,1,0,1)">
|
||||
<path d="M312,360C371,360 308,307 367,307" style="fill:none;stroke:rgb(245,158,11);stroke-width:5.21px;"/>
|
||||
</g>
|
||||
<g transform="matrix(1.6,0,0,1.6,-219.4,-180.8)">
|
||||
<circle cx="366.5" cy="305.5" r="2.5" style="fill:rgb(59,130,246);"/>
|
||||
</g>
|
||||
<g transform="matrix(1.6,0,0,1.6,-274.4,-127.8)">
|
||||
<circle cx="366.5" cy="305.5" r="2.5" style="fill:rgb(59,130,246);"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.8 KiB |
@@ -3,8 +3,8 @@ Type=Application
|
||||
Name={{ default.strings.name | desktop_escape }}
|
||||
GenericName={{ default.strings.generic_name | desktop_escape }}
|
||||
Comment={{ default.strings.comment | desktop_escape }}
|
||||
Exec=scwpic %F
|
||||
Icon=org.sarasaschipworkshop.picture
|
||||
Exec=ppic %F
|
||||
Icon=net.blumia.pineapple-pictures
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Graphics;
|
||||
@@ -2,7 +2,7 @@ version = 1
|
||||
source_language = "en"
|
||||
|
||||
[strings.name]
|
||||
msgid = "SCW Photo Viewer"
|
||||
msgid = "Pineapple Pictures"
|
||||
comment = "Display name of the application."
|
||||
|
||||
[strings.generic_name]
|
||||
@@ -10,7 +10,7 @@ msgid = "Image Viewer"
|
||||
comment = "Generic name describing the application category."
|
||||
|
||||
[strings.comment]
|
||||
msgid = "SCW Photo Viewer is a lightweight image viewer"
|
||||
msgid = "Pineapple Pictures is a lightweight image viewer"
|
||||
comment = "Tooltip-like description of the application."
|
||||
|
||||
[strings.keywords]
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>org.sarasaschipworkshop.picture</id>
|
||||
<id>net.blumia.pineapple-pictures</id>
|
||||
<name>{{ default.strings.name | xml_escape }}</name>
|
||||
{% for lang in languages %}
|
||||
<name xml:lang="{{ lang.lang }}">{{ lang.strings.name | xml_escape }}</name>
|
||||
@@ -17,21 +17,44 @@
|
||||
<p xml:lang="{{ lang.lang }}">{{ lang.strings.description | xml_escape }}</p>
|
||||
{% endfor %}
|
||||
</description>
|
||||
<developer id="org.sarasaschipworkshop">
|
||||
<developer id="net.blumia">
|
||||
<name>{{ default.strings.developer_name | xml_escape }}</name>
|
||||
{% for lang in languages %}
|
||||
<name xml:lang="{{ lang.lang }}">{{ lang.strings.developer_name | xml_escape }}</name>
|
||||
{% endfor %}
|
||||
</developer>
|
||||
<launchable type="desktop-id">org.sarasaschipworkshop.picture.desktop</launchable>
|
||||
<url type="homepage">https://github.com/SarasasChipWorkshop/sarasacw-picture</url>
|
||||
<url type="bugtracker">https://github.com/SarasasChipWorkshop/sarasacw-picture/issues</url>
|
||||
<url type="translate">https://github.com/SarasasChipWorkshop/sarasacw-picture</url>
|
||||
<url type="vcs-browser">https://github.com/SarasasChipWorkshop/sarasacw-picture</url>
|
||||
<launchable type="desktop-id">net.blumia.pineapple-pictures.desktop</launchable>
|
||||
<url type="homepage">https://github.com/BLumia/pineapple-pictures</url>
|
||||
<url type="bugtracker">https://github.com/BLumia/pineapple-pictures/issues</url>
|
||||
<url type="donation">https://ko-fi.com/blumia</url>
|
||||
<url type="translate">https://hosted.weblate.org/projects/pineapple-pictures/</url>
|
||||
<url type="vcs-browser">https://github.com/BLumia/pineapple-pictures</url>
|
||||
<provides>
|
||||
<binary>scwpic</binary>
|
||||
<binary>ppic</binary>
|
||||
</provides>
|
||||
<!-- TODO: Add new screenshots for SCW Photo Viewer here, in an AppStream <screenshots> section, once screenshots are available. -->
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<caption>{{ default.strings.screenshot_caption_main | xml_escape }}</caption>
|
||||
{% for lang in languages %}
|
||||
<caption xml:lang="{{ lang.lang }}">{{ lang.strings.screenshot_caption_main | xml_escape }}</caption>
|
||||
{% endfor %}
|
||||
<image type="source" width="1503" height="640">https://pineapple-pictures.sourceforge.io/ppic-gui-static.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>{{ default.strings.screenshot_caption_raster | xml_escape }}</caption>
|
||||
{% for lang in languages %}
|
||||
<caption xml:lang="{{ lang.lang }}">{{ lang.strings.screenshot_caption_raster | xml_escape }}</caption>
|
||||
{% endfor %}
|
||||
<image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-raster.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>{{ default.strings.screenshot_caption_vector | xml_escape }}</caption>
|
||||
{% for lang in languages %}
|
||||
<caption xml:lang="{{ lang.lang }}">{{ lang.strings.screenshot_caption_vector | xml_escape }}</caption>
|
||||
{% endfor %}
|
||||
<image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-svg.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
<release type="stable" version="1.6.0" date="2026-08-22T00:00:00Z">
|
||||
<description>
|
||||
@@ -0,0 +1,30 @@
|
||||
version = 1
|
||||
source_language = "en"
|
||||
|
||||
[strings.name]
|
||||
msgid = "Pineapple Pictures"
|
||||
comment = "Display name of the application."
|
||||
|
||||
[strings.summary]
|
||||
msgid = "Image Viewer"
|
||||
comment = "One-line summary shown in software centers."
|
||||
|
||||
[strings.description]
|
||||
msgid = "Pineapple Pictures is a lightweight and easy-to-use image viewer that comes with a handy navigation thumbnail when zoom-in, and doesn't contain any image management support."
|
||||
comment = "Description paragraph shown in the details page."
|
||||
|
||||
[strings.developer_name]
|
||||
msgid = "Gary (BLumia) Wang et al."
|
||||
comment = "Name of the application developers."
|
||||
|
||||
[strings.screenshot_caption_main]
|
||||
msgid = "Main window when an image file is loaded"
|
||||
comment = "Caption of the primary screenshot."
|
||||
|
||||
[strings.screenshot_caption_raster]
|
||||
msgid = "Zooming in a raster image"
|
||||
comment = "Caption of the raster image zooming screenshot."
|
||||
|
||||
[strings.screenshot_caption_vector]
|
||||
msgid = "Zooming in a vector image"
|
||||
comment = "Caption of the vector image zooming screenshot."
|
||||
@@ -1,18 +0,0 @@
|
||||
version = 1
|
||||
source_language = "en"
|
||||
|
||||
[strings.name]
|
||||
msgid = "SCW Photo Viewer"
|
||||
comment = "Display name of the application."
|
||||
|
||||
[strings.summary]
|
||||
msgid = "Image Viewer"
|
||||
comment = "One-line summary shown in software centers."
|
||||
|
||||
[strings.description]
|
||||
msgid = "SCW Photo Viewer is a lightweight and easy-to-use image viewer that comes with a handy navigation thumbnail when zoom-in, and doesn't contain any image management support."
|
||||
comment = "Description paragraph shown in the details page."
|
||||
|
||||
[strings.developer_name]
|
||||
msgid = "Sarasa's Chip Workshop"
|
||||
comment = "Name of the application developers."
|
||||
@@ -1,5 +1,5 @@
|
||||
// Generated by MetaGlot. DO NOT EDIT.
|
||||
// Sources: dist/sarasacw-picture.rc.in.toml, locales/winrc/*.po (CMake placeholders are substituted later).
|
||||
// Sources: dist/pineapple-pictures.rc.in.toml, locales/winrc/*.po (CMake placeholders are substituted later).
|
||||
|
||||
#pragma code_page(65001)
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
103 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/gif.ico" // gif
|
||||
104 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/jpg.ico" // jpg
|
||||
105 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/png.ico" // png
|
||||
106 ICON "@CMAKE_CURRENT_SOURCE_DIR@/dist/winrc-icos/svg.ico" // svg
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// String tables (file type descriptions, referenced as "@<exe path>,-<id>")
|
||||
@@ -53,13 +52,13 @@ BEGIN
|
||||
BEGIN
|
||||
BLOCK "{{ lang.block_key }}"
|
||||
BEGIN
|
||||
VALUE "Comments", "https://github.com/SarasasChipWorkshop/sarasacw-picture"
|
||||
VALUE "CompanyName", "Sarasa's Chip Workshop"
|
||||
VALUE "Comments", "https://github.com/BLumia/pineapple-pictures"
|
||||
VALUE "CompanyName", "Gary Wang"
|
||||
VALUE "FileDescription", "{{ lang.strings.file_description | rc_escape }}"
|
||||
VALUE "FileVersion", "@PROJECT_VERSION@"
|
||||
VALUE "InternalName", "scwpic"
|
||||
VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2026 Sarasa's Chip Workshop"
|
||||
VALUE "OriginalFilename", "scwpic.exe"
|
||||
VALUE "InternalName", "ppic"
|
||||
VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2026 Gary Wang"
|
||||
VALUE "OriginalFilename", "ppic.exe"
|
||||
VALUE "ProductName", "{{ lang.strings.product_name | rc_escape }}"
|
||||
VALUE "ProductVersion", "@PROJECT_VERSION@"
|
||||
END
|
||||
@@ -2,7 +2,7 @@ version = 1
|
||||
source_language = "en"
|
||||
|
||||
[strings.1000]
|
||||
msgid = "SCW Photo Viewer"
|
||||
msgid = "Pineapple Pictures"
|
||||
context = "Explorer"
|
||||
comment = "Application friendly name shown by Explorer, e.g. in the 'Open with' menu."
|
||||
|
||||
@@ -119,9 +119,9 @@ msgid = "Scitex Continuous Tone"
|
||||
comment = "File type name for: sct"
|
||||
|
||||
[strings.file_description]
|
||||
msgid = "Yet another legacy Windows Photo Viewer with cross-platform support."
|
||||
msgid = "Pineapple Pictures - Image Viewer"
|
||||
comment = "File description of the executable."
|
||||
|
||||
[strings.product_name]
|
||||
msgid = "SCW Photo Viewer"
|
||||
msgid = "Pineapple Pictures"
|
||||
comment = "Display name of the product."
|
||||
@@ -2,3 +2,4 @@
|
||||
MyAppName={{ strings.MyAppName | inno_escape }}
|
||||
MyOther={{ strings.MyOther | inno_escape }}
|
||||
MyAssociateWithFiles={{ strings.MyAssociateWithFiles | inno_escape }}
|
||||
MyInstallVcRedist={{ strings.MyInstallVcRedist | inno_escape }}
|
||||
@@ -0,0 +1,362 @@
|
||||
; Script for generating the Pineapple Pictures installer.
|
||||
|
||||
#define MyAppName "Pineapple Pictures"
|
||||
#define MyAppVersion "@PROJECT_VERSION@"
|
||||
#define MyAppPublisher "BLumia"
|
||||
#define MyAppURL "https://github.com/BLumia/pineapple-pictures"
|
||||
#define MyAppExeName "ppic.exe"
|
||||
|
||||
[Setup]
|
||||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
||||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||
{% comment %}
|
||||
The escaped double opening brace in the AppId value below is wrapped in a Liquid raw block,
|
||||
because it would otherwise open a Liquid output tag.
|
||||
{% endcomment %}
|
||||
AppId={% raw %}{{B5291320-FE7C-4069-BF87-A0AC327FCD20}{% endraw %}
|
||||
AppName={cm:MyAppName}
|
||||
AppVersion={#MyAppVersion} ;{#MyAppName} {#MyAppVersion}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#MyAppURL}
|
||||
AppUpdatesURL={#MyAppURL}
|
||||
; Explicit literals (via preprocessor defines): the Setup.exe version info resource
|
||||
; must not fall back to AppName, because AppName carries an Inno constant and the
|
||||
; fallback yields an empty string in that case.
|
||||
VersionInfoDescription={#MyAppName} Setup
|
||||
VersionInfoProductName={#MyAppName}
|
||||
DefaultDirName={autopf}\pineapple-pictures
|
||||
UninstallDisplayIcon={app}\{#MyAppExeName}
|
||||
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
|
||||
; on anything but x64 and Windows 11 on Arm.
|
||||
ArchitecturesAllowed=x64compatible
|
||||
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
|
||||
; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
|
||||
; meaning it should use the native 64-bit Program Files directory and
|
||||
; the 64-bit view of the registry.
|
||||
ArchitecturesInstallIn64BitMode=x64compatible
|
||||
ChangesAssociations=yes
|
||||
DefaultGroupName={cm:MyAppName}
|
||||
AllowNoIcons=yes
|
||||
LicenseFile=LICENSE
|
||||
; Uncomment the following line to run in non administrative install mode (install for current user only).
|
||||
;PrivilegesRequired=lowest
|
||||
PrivilegesRequiredOverridesAllowed=dialog
|
||||
OutputDir=.
|
||||
OutputBaseFilename=ppic-setup
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
|
||||
[Languages]
|
||||
{% for lang in langs -%}
|
||||
{% case lang -%}
|
||||
{% when 'zh_CN' -%}
|
||||
{% assign base = 'compiler:Languages\ChineseSimplified.isl' -%}
|
||||
{% else -%}
|
||||
{% assign base = 'compiler:Default.isl' -%}
|
||||
{% endcase -%}
|
||||
Name: "{{ lang }}"; MessagesFile: "{{ base }},Strings\{{ lang }}.isl"
|
||||
{% endfor -%}
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||
Name: "associatewithfiles"; Description: "{cm:MyAssociateWithFiles,{#MyAppName}}"; GroupDescription: "{cm:MyOther}"
|
||||
|
||||
[Files]
|
||||
; YYC MARK:
|
||||
; This file MUST be placed with "ppic.exe" before compiling this script.
|
||||
; Otherwise exception will be thrown.
|
||||
Source: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "*"; Excludes: "vc_redist.x64.exe,ppic-setup.exe,ppic.iss,Strings"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
|
||||
[Registry]
|
||||
; Registration scheme follows the app-registration model (App Paths + Applications
|
||||
; keys plus per-family ProgIds), with all display names and icons referenced as
|
||||
; indirect strings into ppic.exe itself (string table 1000-1028, icons 101-105),
|
||||
; so the registry values stay language-neutral and Explorer resolves them per
|
||||
; user UI language. Adding a new file family: copy a family block below, adjust
|
||||
; the ProgId, string ID, icon ID and extension list, then add the extensions to
|
||||
; SupportedTypes. String/icon IDs must exist in the Windows RC resources
|
||||
; (dist/pineapple-pictures.rc.in.toml and dist/winrc-icos).
|
||||
|
||||
; --- Application registration (always installed) ---
|
||||
|
||||
; App Paths: lets the shell resolve "ppic.exe" by name and locates its DLL directory.
|
||||
Root: HKA; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\ppic.exe"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\ppic.exe"; ValueType: string; ValueName: "Path"; ValueData: "{app}"
|
||||
; Applications: makes ppic.exe itself appear in the "Open with" lists.
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe"; ValueType: string; ValueName: "FriendlyAppName"; ValueData: "@{app}\ppic.exe,-1000"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe"; ValueType: string; ValueName: "NoOpenWith"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-101"
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
; SupportedTypes: declares the supported types to filter the "Open with" dialog.
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".ani"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".apng"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".avif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".bmp"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".bw"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".dds"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".exr"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".gif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".hdr"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".icns"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".ico"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".iff"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".jfif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".jpeg"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".jpg"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".kra"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".ora"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".pdd"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".pcx"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".pfm"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".phm"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".pic"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".png"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".psb"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".psd"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".psdt"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".pxr"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".qoi"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".ras"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".rgb"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".rgba"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".sct"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".sgi"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".sun"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".svg"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".tga"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".tif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".tiff"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".wbmp"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".webp"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\ppic.exe\SupportedTypes"; ValueType: string; ValueName: ".xcf"; ValueData: ""
|
||||
|
||||
; --- File type ProgId declarations (always installed) ---
|
||||
; Per family: one ProgId shared by its extensions, always registered. Default
|
||||
; value and FriendlyTypeName both carry the indirect string; DefaultIcon
|
||||
; references the embedded icon by resource ID (101 app, 102 bmp, 103 gif,
|
||||
; 104 jpg, 105 png). Only the OpenWithProgids line(s) at the end of each
|
||||
; family block claim the actual association and are gated by the installer
|
||||
; task "associatewithfiles".
|
||||
|
||||
; JPEG family (string 1001, icon 104)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Jpeg"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1001"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Jpeg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1001"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Jpeg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Jpeg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.jpg\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.jpeg\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.jfif\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; GIF family (string 1002, icon 103)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Gif"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1002"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Gif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1002"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Gif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-103"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Gif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.gif\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Gif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; PNG family (string 1003, icon 105)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Png"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1003"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Png"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1003"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Png\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Png\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.png\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.apng\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; SVG (string 1004, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Svg"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1004"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Svg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1004"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Svg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Svg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.svg\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Svg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; WebP (string 1005, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Webp"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1005"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Webp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1005"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Webp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Webp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.webp\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Webp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; AVIF (string 1006, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Avif"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1006"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Avif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1006"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Avif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Avif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.avif\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Avif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; ICO (string 1007, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ico"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1007"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ico"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1007"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ico\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ico\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ico\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Ico"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; ICNS (string 1008, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Icns"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1008"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Icns"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1008"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Icns\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Icns\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.icns\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Icns"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Photoshop family (string 1009, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Psd"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1009"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Psd"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1009"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Psd\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Psd\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.psd\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.psb\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.pdd\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.psdt\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Krita (string 1010, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Kra"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1010"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Kra"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1010"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Kra\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Kra\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.kra\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Kra"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; GIMP XCF (string 1011, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Xcf"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1011"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Xcf"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1011"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Xcf\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Xcf\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.xcf\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Xcf"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; TARGA (string 1012, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tga"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1012"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tga"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1012"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tga\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tga\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.tga\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Tga"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; TIFF family (string 1013, icon 104 - photo)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tif"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1013"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1013"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Tif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.tif\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.tiff\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; BMP (string 1014, icon 102)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Bmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1014"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Bmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1014"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Bmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Bmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.bmp\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Bmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Wireless BMP (string 1015, icon 102)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Wbmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1015"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Wbmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1015"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Wbmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Wbmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.wbmp\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Wbmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; DirectDraw Surface (string 1016, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Dds"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1016"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Dds"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1016"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Dds\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Dds\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.dds\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Dds"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; HDR family incl. EXR (string 1017, icon 104 - photo)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Hdr"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1017"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Hdr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1017"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Hdr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Hdr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.hdr\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.exr\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; IFF (string 1018, icon 104 - fallback)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Iff"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1018"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Iff"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1018"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Iff\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Iff\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.iff\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Iff"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Softimage PIC (string 1019, icon 104 - fallback)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pic"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1019"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pic"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1019"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pic\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pic\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pic\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Pic"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; PCX (string 1020, icon 104 - fallback)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pcx"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1020"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pcx"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1020"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pcx\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pcx\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pcx\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Pcx"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; QOI (string 1021, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Qoi"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1021"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Qoi"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1021"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Qoi\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Qoi\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.qoi\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Qoi"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Sun Raster family (string 1022, icon 104 - fallback)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ras"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1022"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ras"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1022"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ras\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ras\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ras\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.sun\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; OpenRaster (string 1023, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ora"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1023"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ora"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1023"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ora\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ora\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ora\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Ora"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Animated Cursor (string 1024, icon 103 - animated)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ani"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1024"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ani"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1024"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ani\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-103"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Ani\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ani\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Ani"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Portable Float Map family (string 1025, icon 104 - photo/HDR)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pfm"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1025"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pfm"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1025"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pfm\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pfm\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pfm\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.phm\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Silicon Graphics family (string 1026, icon 104 - fallback)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Rgb"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1026"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Rgb"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1026"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Rgb\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Rgb\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.rgb\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.rgba\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.bw\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.sgi\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Pixar (string 1027, icon 104 - fallback)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pxr"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1027"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pxr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1027"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pxr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Pxr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pxr\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Pxr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Scitex CT (string 1028, icon 104 - fallback)
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Sct"; ValueType: string; ValueName: ""; ValueData: "@{app}\ppic.exe,-1028"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Sct"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\ppic.exe,-1028"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Sct\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ppic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\PineapplePictures.Sct\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ppic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.sct\OpenWithProgids"; ValueType: string; ValueName: "PineapplePictures.Sct"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "https://github.com/BLumia/pineapple-pictures"
|
||||
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
|
||||
Name: "{autodesktop}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent
|
||||
Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "{cm:MyInstallVcRedist}"; Flags: waituntilterminated
|
||||
@@ -2,7 +2,7 @@ version = 1
|
||||
source_language = "en"
|
||||
|
||||
[strings.MyAppName]
|
||||
msgid = "SCW Photo Viewer"
|
||||
msgid = "Pineapple Pictures"
|
||||
comment = "Display name of the application, used in the installer UI."
|
||||
|
||||
[strings.MyOther]
|
||||
@@ -12,3 +12,7 @@ comment = "Group caption for the extra installer task options."
|
||||
[strings.MyAssociateWithFiles]
|
||||
msgid = "Associate %1 with its supported file types."
|
||||
comment = "Installer task description. %1 is the application name."
|
||||
|
||||
[strings.MyInstallVcRedist]
|
||||
msgid = "Installing Microsoft Visual C++ Redistributable..."
|
||||
comment = "Status message shown while installing the VC++ runtime."
|
||||
@@ -1,394 +0,0 @@
|
||||
; Inno Setup script for the Windows installer of SCW Photo Viewer.
|
||||
;
|
||||
; ISCC.exe /DPublishDir=<publish-dir> /DOutputDir=<dist-dir> path\to\this.iss
|
||||
;
|
||||
|
||||
#ifndef PublishDir
|
||||
#error PublishDir must be specified when running this script. It specifies the directory from which Inno Setup retrieves the artifacts to be packaged.
|
||||
#endif
|
||||
#ifndef OutputDir
|
||||
#error OutputDir must be specified when running this script. It specifies the directory in which Inno Setup writes the generated setup package.
|
||||
#endif
|
||||
|
||||
#define MyAppName "SCW Photo Viewer"
|
||||
#define MyAppVersion "@PROJECT_VERSION@"
|
||||
#define MyAppPublisher "Sarasa's Chip Workshop"
|
||||
#define MyAppURL "https://github.com/SarasasChipWorkshop/sarasacw-picture"
|
||||
#define MyAppExeName "scwpic.exe"
|
||||
|
||||
[Setup]
|
||||
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
||||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||
{% comment %}
|
||||
The escaped double opening brace in the AppId value below is wrapped in a Liquid raw block,
|
||||
because it would otherwise open a Liquid output tag.
|
||||
{% endcomment %}
|
||||
AppId={% raw %}{{A90F12B1-1BD5-4816-994B-A3E95CCFF24E}{% endraw %}
|
||||
AppName={cm:MyAppName}
|
||||
AppVersion={#MyAppVersion}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#MyAppURL}
|
||||
AppUpdatesURL={#MyAppURL}
|
||||
; Explicit literals (via preprocessor defines): the Setup.exe version info resource
|
||||
; must not fall back to AppName, because AppName carries an Inno constant and the
|
||||
; fallback yields an empty string in that case.
|
||||
VersionInfoDescription={#MyAppName} Setup
|
||||
VersionInfoProductName={#MyAppName}
|
||||
DefaultDirName={autopf}\sarasacw-picture
|
||||
UninstallDisplayIcon={app}\{#MyAppExeName}
|
||||
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
|
||||
; on anything but x64 and Windows 11 on Arm.
|
||||
ArchitecturesAllowed=x64compatible
|
||||
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
|
||||
; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
|
||||
; meaning it should use the native 64-bit Program Files directory and
|
||||
; the 64-bit view of the registry.
|
||||
ArchitecturesInstallIn64BitMode=x64compatible
|
||||
ChangesAssociations=yes
|
||||
DefaultGroupName={cm:MyAppName}
|
||||
AllowNoIcons=yes
|
||||
LicenseFile={#PublishDir}\LICENSE
|
||||
; Uncomment the following line to run in non administrative install mode (install for current user only).
|
||||
;PrivilegesRequired=lowest
|
||||
PrivilegesRequiredOverridesAllowed=dialog
|
||||
OutputDir={#OutputDir}
|
||||
OutputBaseFilename=scwpic-setup
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
|
||||
[Languages]
|
||||
{% comment %}
|
||||
YYC MARK:
|
||||
The base messages file pairing (the official full translation that provides
|
||||
the language identity) is derived from MetaGlot's best-effort conversion of
|
||||
the PO language tag to the conventional Inno Setup language name (lang.lang)
|
||||
and its officiality (lang.is_official). A language without an official base
|
||||
file - a community provided conventional name, or a language unknown to
|
||||
MetaGlot which converts to nothing - is dropped instead of falling back:
|
||||
every [Languages] entry inherits the language identity of its base file, and
|
||||
"compiler:Default.isl" carries the English identity, so a fallback entry
|
||||
would flood the setup language selection dialog with duplicate English
|
||||
items. To keep such a language, ship its base messages file with the
|
||||
installer and pair it explicitly (e.g. via a "case" on "lang.name"). The
|
||||
incremental custom messages file is named after the conventional name; keep
|
||||
it in sync with the "--isl-path" argument in CMakeLists.txt. The path
|
||||
rendering loop is independent of the dropping decision, so a dropped
|
||||
language still gets an (unreferenced) messages file written.
|
||||
{% endcomment -%}
|
||||
{% for lang in langs -%}
|
||||
{%- if lang.is_official -%}
|
||||
{%- if lang.lang == 'Default' -%}
|
||||
{% assign base = 'compiler:Default.isl' -%}
|
||||
{%- else -%}
|
||||
{% assign base = 'compiler:Languages\' | append: lang.lang | append: '.isl' -%}
|
||||
{%- endif -%}
|
||||
Name: "{{ lang.name }}"; MessagesFile: "{{ base }},Strings\{{ lang.lang }}.isl"
|
||||
{% else -%}
|
||||
{%- comment -%}
|
||||
unofficial or unmapped: dropped, since a Default.isl fallback would duplicate the English identity in the Select Language dialog
|
||||
{%- endcomment -%}
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||
Name: "associatewithfiles"; Description: "{cm:MyAssociateWithFiles,{#MyAppName}}"; GroupDescription: "{cm:MyOther}"
|
||||
|
||||
[Files]
|
||||
; YYC MARK:
|
||||
; This script is compiled in place and retrieves the artifacts to be packaged
|
||||
; from the directory given by the "PublishDir" define, which must contain
|
||||
; "scwpic.exe" and the "LICENSE" file. Otherwise exception will be thrown.
|
||||
Source: "{#PublishDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "{#PublishDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
|
||||
[Registry]
|
||||
; Registration scheme follows the app-registration model (App Paths + Applications
|
||||
; keys plus per-family ProgIds), with all display names and icons referenced as
|
||||
; indirect strings into scwpic.exe itself (string table 1000-1028, icons 101-105),
|
||||
; so the registry values stay language-neutral and Explorer resolves them per
|
||||
; user UI language. Adding a new file family: copy a family block below, adjust
|
||||
; the ProgId, string ID, icon ID and extension list, then add the extensions to
|
||||
; SupportedTypes. String/icon IDs must exist in the Windows RC resources
|
||||
; (dist/sarasacw-picture.rc.in.toml and dist/winrc-icos).
|
||||
|
||||
; --- Application registration (always installed) ---
|
||||
|
||||
; App Paths: lets the shell resolve "scwpic.exe" by name and locates its DLL directory.
|
||||
Root: HKA; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\scwpic.exe"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\scwpic.exe"; ValueType: string; ValueName: "Path"; ValueData: "{app}"
|
||||
; Applications: makes scwpic.exe itself appear in the "Open with" lists.
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe"; ValueType: string; ValueName: "FriendlyAppName"; ValueData: "@{app}\scwpic.exe,-1000"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe"; ValueType: string; ValueName: "NoOpenWith"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-101"
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
; SupportedTypes: declares the supported types to filter the "Open with" dialog.
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".ani"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".apng"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".avif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".bmp"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".bw"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".dds"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".exr"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".gif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".hdr"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".icns"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".ico"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".iff"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".jfif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".jpeg"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".jpg"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".kra"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".ora"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".pdd"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".pcx"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".pfm"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".phm"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".pic"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".png"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".psb"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".psd"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".psdt"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".pxr"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".qoi"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".ras"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".rgb"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".rgba"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".sct"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".sgi"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".sun"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".svg"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".tga"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".tif"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".tiff"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".wbmp"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".webp"; ValueData: ""
|
||||
Root: HKA; Subkey: "Software\Classes\Applications\scwpic.exe\SupportedTypes"; ValueType: string; ValueName: ".xcf"; ValueData: ""
|
||||
|
||||
; --- File type ProgId declarations (always installed) ---
|
||||
; Per family: one ProgId shared by its extensions, always registered. Default
|
||||
; value and FriendlyTypeName both carry the indirect string; DefaultIcon
|
||||
; references the embedded icon by resource ID (101 app, 102 bmp, 103 gif,
|
||||
; 104 jpg, 105 png, 106 svg). Only the OpenWithProgids line(s) at the end of each
|
||||
; family block claim the actual association and are gated by the installer
|
||||
; task "associatewithfiles".
|
||||
|
||||
; JPEG family (string 1001, icon 104)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1001"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1001"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Jpeg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.jpg\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.jpeg\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.jfif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Jpeg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; GIF family (string 1002, icon 103)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1002"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1002"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-103"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Gif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.gif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Gif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; PNG family (string 1003, icon 105)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1003"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1003"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Png\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.png\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.apng\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Png"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; SVG (string 1004, icon 106 - vector)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1004"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1004"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Svg\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.svg\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Svg"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; WebP (string 1005, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1005"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1005"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Webp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.webp\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Webp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; AVIF (string 1006, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1006"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1006"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Avif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.avif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Avif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; ICO (string 1007, icon 106 - icon format)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1007"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1007"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ico\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ico\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ico"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; ICNS (string 1008, icon 106 - icon format)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1008"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1008"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Icns\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.icns\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Icns"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Photoshop family (string 1009, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1009"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1009"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Psd\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.psd\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.psb\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.pdd\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.psdt\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Psd"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Krita (string 1010, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1010"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1010"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Kra\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.kra\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Kra"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; GIMP XCF (string 1011, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1011"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1011"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Xcf\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.xcf\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Xcf"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; TARGA (string 1012, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1012"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1012"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tga\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.tga\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Tga"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; TIFF family (string 1013, icon 104 - photo)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1013"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1013"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Tif\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.tif\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.tiff\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Tif"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; BMP (string 1014, icon 102)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1014"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1014"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Bmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.bmp\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Bmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Wireless BMP (string 1015, icon 102)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1015"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1015"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Wbmp\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.wbmp\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Wbmp"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; DirectDraw Surface (string 1016, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1016"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1016"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Dds\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.dds\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Dds"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; HDR family incl. EXR (string 1017, icon 104 - photo)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1017"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1017"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Hdr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.hdr\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.exr\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Hdr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; IFF (string 1018, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1018"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1018"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Iff\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.iff\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Iff"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Softimage PIC (string 1019, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1019"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1019"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pic\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pic\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pic"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; PCX (string 1020, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1020"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1020"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pcx\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pcx\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pcx"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; QOI (string 1021, icon 105 - transparency capable)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1021"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1021"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-105"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Qoi\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.qoi\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Qoi"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Sun Raster family (string 1022, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1022"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1022"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ras\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ras\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.sun\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ras"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; OpenRaster (string 1023, icon 102 - artwork)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1023"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1023"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-102"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ora\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ora\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ora"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Animated Cursor (string 1024, icon 103 - animated)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1024"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1024"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-103"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Ani\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.ani\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Ani"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Portable Float Map family (string 1025, icon 104 - photo/HDR)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1025"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1025"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-104"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pfm\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pfm\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.phm\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pfm"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Silicon Graphics family (string 1026, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1026"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1026"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Rgb\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.rgb\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.rgba\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.bw\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
Root: HKA; Subkey: "Software\Classes\.sgi\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Rgb"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Pixar (string 1027, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1027"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1027"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Pxr\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.pxr\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Pxr"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
; Scitex CT (string 1028, icon 106 - archaic)
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct"; ValueType: string; ValueName: ""; ValueData: "@{app}\scwpic.exe,-1028"; Flags: uninsdeletekey
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct"; ValueType: string; ValueName: "FriendlyTypeName"; ValueData: "@{app}\scwpic.exe,-1028"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\scwpic.exe,-106"
|
||||
Root: HKA; Subkey: "Software\Classes\SarasasChipWorkshop.Picture.Sct\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\scwpic.exe"" ""%1"""
|
||||
Root: HKA; Subkey: "Software\Classes\.sct\OpenWithProgids"; ValueType: string; ValueName: "SarasasChipWorkshop.Picture.Sct"; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: associatewithfiles
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "https://github.com/SarasasChipWorkshop/sarasacw-picture"
|
||||
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
|
||||
Name: "{autodesktop}\{cm:MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent
|
||||
@@ -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 |