summaryrefslogtreecommitdiff
path: root/notepadpp/debian/notepadpp64
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-12-29 13:06:46 +0000
committerB Stack <bgstack15@gmail.com>2019-12-29 13:06:46 +0000
commite91826c52adadc90dcb12c10df19a7cf60ca3ac4 (patch)
tree0dd4e58c857c63e2f0e0b250ed66028effb35fc9 /notepadpp/debian/notepadpp64
parentMerge branch 'freefilesync-bump' into 'master' (diff)
downloadstackrpms-e91826c52adadc90dcb12c10df19a7cf60ca3ac4.tar.gz
stackrpms-e91826c52adadc90dcb12c10df19a7cf60ca3ac4.tar.bz2
stackrpms-e91826c52adadc90dcb12c10df19a7cf60ca3ac4.zip
Add notepad++ as notepadpp
Diffstat (limited to 'notepadpp/debian/notepadpp64')
-rw-r--r--notepadpp/debian/notepadpp6421
1 files changed, 21 insertions, 0 deletions
diff --git a/notepadpp/debian/notepadpp64 b/notepadpp/debian/notepadpp64
new file mode 100644
index 0000000..169973e
--- /dev/null
+++ b/notepadpp/debian/notepadpp64
@@ -0,0 +1,21 @@
+#!/bin/sh
+# File: /usr/bin/notepadpp64
+# Locations: symlink /usr/bin/notepadpp
+# Author: bgstack15@gmail.com
+# Startdate: 2019-12-27
+# Title: Wrapper script for passing files to notepadpp
+# Purpose: Converts file paths to a wine format and also handles compressed files
+# History:
+# Usage: notepadpp /path/to/file
+# Reference:
+# irfanview64 script from irfanview dpkg
+# Improve:
+
+# load variables
+test -z "${NPP_WINEPREFIX}" && export NPP_WINEPREFIX="$HOME/.wine"
+test -n "${NPP_WINEPREFIX}" && export WINEPREFIX="${NPP_WINEPREFIX}" || export WINEPREFIX=$HOME/.wine
+test -z "${NPP_EXEC_NAME}" && export NPP_EXEC_NAME="notepad++.exe"
+test -z "${NPP_EXEC_PATH}" && export NPP_EXEC_PATH="/usr/share/notepadpp64/notepad++.exe"
+export NPP_VALID_CALL=do_not_set_this_manually
+
+. notepadpp-common "$@"
bgstack15