From 133d0a259252df711eb7527512ba6fb24ee88767 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Mon, 18 Mar 2019 11:51:10 +0100 Subject: [PATCH 1/3] Add directory "settings" to the list .GitIgnore list - Cause the *.ini files and Themes are copied by "build script" --- .gitignore | 1 + themes/style_schemata/Dark Theme.ini | Bin 4822 -> 4834 bytes 2 files changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 1996a3042..8a64b5d79 100644 --- a/.gitignore +++ b/.gitignore @@ -59,6 +59,7 @@ Thumbs.db /np3portableapp/*.paf.exe /np3portableapp/Notepad3Portable/Notepad3Portable.exe /np3portableapp/Notepad3Portable/App/AppInfo/appinfo.ini +/np3portableapp/Notepad3Portable/App/DefaultData/settings /np3portableapp/Notepad3Portable/App/Notepad3/*.exe /np3portableapp/Notepad3Portable/App/Notepad3/x64/*.exe /np3portableapp/Notepad3Portable/App/Notepad3/x64/lng diff --git a/themes/style_schemata/Dark Theme.ini b/themes/style_schemata/Dark Theme.ini index 8df00eb6da6cf81293554b44a07956add3372e7c..2fb36baca1ef5c32063fd08814b1a718e11c5e50 100644 GIT binary patch delta 68 zcmcbn`bc%dGfu%$h9ZVchEyP_z~Bd@%O`*2oQ_2_lreg;0~gQaecUpWFEGy8yop Date: Mon, 18 Mar 2019 12:02:14 +0100 Subject: [PATCH 2/3] Add directory "settings" to the list .GitIgnore list - Cause the *.ini files and Themes are copied by "build script" --- np3portableapp/build_np3portableapp.cmd | 1 + 1 file changed, 1 insertion(+) diff --git a/np3portableapp/build_np3portableapp.cmd b/np3portableapp/build_np3portableapp.cmd index 84ab2125e..c6c445c0e 100644 --- a/np3portableapp/build_np3portableapp.cmd +++ b/np3portableapp/build_np3portableapp.cmd @@ -82,6 +82,7 @@ if defined FILEVER set VERSION=%FILEVER% :: --- Prepare Build --- +mkdir "%NP3_PORTAPP_DIR%\App\DefaultData\settings\" copy "%NP3_DISTRIB_DIR%\Notepad3.ini" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\Notepad3.ini" /Y /V copy "%NP3_DISTRIB_DIR%\minipath.ini" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\minipath.ini" /Y /V copy "%NP3_DISTRIB_DIR%\Changes.txt" "%NP3_PORTAPP_DIR%\Other\Help\Changes.txt" /Y /V From a84108476ad3e015b0e9187599e47f67bff5cd86 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Mon, 18 Mar 2019 12:41:05 +0100 Subject: [PATCH 3/3] Fine tune cause the *.ini files are copied by "build script" --- np3portableapp/build_np3portableapp.cmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/np3portableapp/build_np3portableapp.cmd b/np3portableapp/build_np3portableapp.cmd index c6c445c0e..05d357152 100644 --- a/np3portableapp/build_np3portableapp.cmd +++ b/np3portableapp/build_np3portableapp.cmd @@ -82,7 +82,8 @@ if defined FILEVER set VERSION=%FILEVER% :: --- Prepare Build --- -mkdir "%NP3_PORTAPP_DIR%\App\DefaultData\settings\" +if not exist "%NP3_PORTAPP_DIR%\App\DefaultData\settings\" mkdir "%NP3_PORTAPP_DIR%\App\DefaultData\settings\" + copy "%NP3_DISTRIB_DIR%\Notepad3.ini" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\Notepad3.ini" /Y /V copy "%NP3_DISTRIB_DIR%\minipath.ini" "%NP3_PORTAPP_DIR%\App\DefaultData\settings\minipath.ini" /Y /V copy "%NP3_DISTRIB_DIR%\Changes.txt" "%NP3_PORTAPP_DIR%\Other\Help\Changes.txt" /Y /V