summaryrefslogtreecommitdiff
path: root/notepadpp/debian/notepadpp64
diff options
context:
space:
mode:
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