From 20a5866eafd99c4675266dc9d22dd11fb2873b10 Mon Sep 17 00:00:00 2001 From: Rohan Barar Date: Sat, 20 Sep 2025 09:00:36 +1000 Subject: [PATCH 1/4] Add .gitattributes + Fix encodings Signed-off-by: Rohan Barar Signed-off-by: paidlowered --- .gitattributes | 4 ++++ oem/install.bat | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..459dcce --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Ensure Windows-friendly line endings and encoding for batch and registry files +*.bat text eol=crlf +*.cmd text eol=crlf +*.reg text eol=crlf working-tree-encoding=UTF-16LE-BOM diff --git a/oem/install.bat b/oem/install.bat index 9a5aa84..1b116f6 100644 --- a/oem/install.bat +++ b/oem/install.bat @@ -40,7 +40,7 @@ if %ERRORLEVEL% equ 0 ( echo [SUCCESS] Firewall changes applied successfully. ) else ( echo [ERROR] Failed to apply firewall changes. - echo Please manually enable Remote Desktop via 'Settings ► System ► Remote Desktop'. + echo Please manually enable Remote Desktop via 'Settings --> System --> Remote Desktop'. ) ) From fd838be7e640011006a257cda1a582b6f46174c1 Mon Sep 17 00:00:00 2001 From: Rohan Barar Date: Sat, 20 Sep 2025 10:38:20 +1000 Subject: [PATCH 2/4] Update .pre-commit-config.yaml to exclude Windows files from line ending checks Signed-off-by: Rohan Barar Signed-off-by: paidlowered --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3777aba..65436f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,9 @@ repos: args: [ "775" ] files: (\.sh|winapps)$ - id: forbid-crlf + exclude: '\.(bat|cmd|reg)$' - id: remove-crlf + exclude: '\.(bat|cmd|reg)$' - id: forbid-tabs - id: remove-tabs args: [ --whitespaces-count, "4" ] @@ -32,6 +34,7 @@ repos: - id: end-of-file-fixer - id: fix-byte-order-marker - id: mixed-line-ending + exclude: '\.(bat|cmd|reg)$' - id: pretty-format-json args: [ "--autofix", "--no-sort-keys" ] - id: sort-simple-yaml From 80ff5568faeb7bca4294a2c2ef7296f07c749f5a Mon Sep 17 00:00:00 2001 From: paidlowered Date: Wed, 24 Sep 2025 18:14:30 -0500 Subject: [PATCH 3/4] Add Affinity apps to WinApps Signed-off-by: paidlowered --- apps/afdesign/icon.svg | 19 +++++++++++++++++++ apps/afdesign/info | 22 ++++++++++++++++++++++ apps/afphoto/icon.svg | 19 +++++++++++++++++++ apps/afphoto/info | 22 ++++++++++++++++++++++ apps/afpub/icon.svg | 19 +++++++++++++++++++ apps/afpub/info | 22 ++++++++++++++++++++++ 6 files changed, 123 insertions(+) create mode 100644 apps/afdesign/icon.svg create mode 100644 apps/afdesign/info create mode 100644 apps/afphoto/icon.svg create mode 100644 apps/afphoto/info create mode 100644 apps/afpub/icon.svg create mode 100644 apps/afpub/info diff --git a/apps/afdesign/icon.svg b/apps/afdesign/icon.svg new file mode 100644 index 0000000..3cab9d3 --- /dev/null +++ b/apps/afdesign/icon.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/afdesign/info b/apps/afdesign/info new file mode 100644 index 0000000..1616a0e --- /dev/null +++ b/apps/afdesign/info @@ -0,0 +1,22 @@ +# Copyright (c) 2024 Fmstrat +# All rights reserved. +# +# SPDX-License-Identifier: Proprietary + +# GNOME shortcut name +NAME="Designer" + +# Used for descriptions and window class +FULL_NAME="Affinity Designer" + +# The executable inside windows +WIN_EXECUTABLE="C:\Program Files\Affinity\Designer 2\Designer.exe" + +# GNOME categories +CATEGORIES="WinApps;Affinity" + +# GNOME mimetypes +MIME_TYPES="" + +# System Icon +ICON="AffinityDesigner" diff --git a/apps/afphoto/icon.svg b/apps/afphoto/icon.svg new file mode 100644 index 0000000..53f79ae --- /dev/null +++ b/apps/afphoto/icon.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/afphoto/info b/apps/afphoto/info new file mode 100644 index 0000000..a5238df --- /dev/null +++ b/apps/afphoto/info @@ -0,0 +1,22 @@ +# Copyright (c) 2024 Fmstrat +# All rights reserved. +# +# SPDX-License-Identifier: Proprietary + +# GNOME shortcut name +NAME="Photo" + +# Used for descriptions and window class +FULL_NAME="Affinity Photo" + +# The executable inside windows +WIN_EXECUTABLE="C:\Program Files\Affinity\Photo 2\Photo.exe" + +# GNOME categories +CATEGORIES="WinApps;Affinity" + +# GNOME mimetypes +MIME_TYPES="" + +# System Icon +ICON="AffinityPhoto" diff --git a/apps/afpub/icon.svg b/apps/afpub/icon.svg new file mode 100644 index 0000000..a024830 --- /dev/null +++ b/apps/afpub/icon.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/afpub/info b/apps/afpub/info new file mode 100644 index 0000000..291aa76 --- /dev/null +++ b/apps/afpub/info @@ -0,0 +1,22 @@ +# Copyright (c) 2024 Fmstrat +# All rights reserved. +# +# SPDX-License-Identifier: Proprietary + +# GNOME shortcut name +NAME="Publisher" + +# Used for descriptions and window class +FULL_NAME="Affinity Publisher" + +# The executable inside windows +WIN_EXECUTABLE="C:\Program Files\Affinity\Publisher 2\Publisher.exe" + +# GNOME categories +CATEGORIES="WinApps;Affinity" + +# GNOME mimetypes +MIME_TYPES="" + +# System Icon +ICON="AffinityPublisher" From 1ef12a0308eab75239f737f40cc70930914f76f4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 25 Sep 2025 11:46:25 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- apps/afdesign/icon.svg | 2 +- apps/afphoto/icon.svg | 2 +- apps/afpub/icon.svg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/afdesign/icon.svg b/apps/afdesign/icon.svg index 3cab9d3..c4fe81f 100644 --- a/apps/afdesign/icon.svg +++ b/apps/afdesign/icon.svg @@ -16,4 +16,4 @@ - \ No newline at end of file + diff --git a/apps/afphoto/icon.svg b/apps/afphoto/icon.svg index 53f79ae..ca46a56 100644 --- a/apps/afphoto/icon.svg +++ b/apps/afphoto/icon.svg @@ -16,4 +16,4 @@ - \ No newline at end of file + diff --git a/apps/afpub/icon.svg b/apps/afpub/icon.svg index a024830..a9eb139 100644 --- a/apps/afpub/icon.svg +++ b/apps/afpub/icon.svg @@ -16,4 +16,4 @@ - \ No newline at end of file +