From fe76229618643f0af7eae965e7a8fc6c70410d27 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 29 Mar 2015 12:08:42 -0700 Subject: icon: Convert windows stub into launcher program Instead of an empty windows stub that exists only to hold icons, add useful code that allows it to find and run the related java application. This also adds more resources to that application to provide more information to Windows too. Signed-off-by: Keith Packard --- icon/make-rc | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 icon/make-rc (limited to 'icon/make-rc') diff --git a/icon/make-rc b/icon/make-rc new file mode 100755 index 00000000..de647278 --- /dev/null +++ b/icon/make-rc @@ -0,0 +1,53 @@ +#!/bin/sh + +COMPANY="Altus Metrum, LLC" +PRODUCT="Altus Metrum" + +case "$1" in + *altosui*) + PRODUCT="AltosUI" + ;; + *telegps*) + PRODUCT="TeleGPS" + ;; + *micropeak*) + PRODUCT="MicroPeak" + ;; +esac + +VERSION="$2" +VERSION_COMMA=`echo "$VERSION" | sed 's/\./,/g'` +INTERNAL_NAME=`basename $1` +EXE_NAME="$INTERNAL_NAME".exe +YEAR=`date +%Y` + +cat <