summaryrefslogtreecommitdiff
path: root/vendor/github.com/getlantern/systray/example/icon/make_icon.bat
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2018-10-25 21:32:00 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-10-25 21:32:12 +0200
commit038a6c5790883275279ccf4fb158aee641d78ce1 (patch)
treec5058ca016c0c90d2c56606bdda5bebf84373c96 /vendor/github.com/getlantern/systray/example/icon/make_icon.bat
parent0f2c53961fc98590aff4ac782f957fd3188571c4 (diff)
[pkg] remove vendoring of getlantern/systray
after https://github.com/getlantern/systray/commit/5fb0feca3c0677e9fa31e579ff69631f49a379a2 was merged, we don't need to keep using the vendoring of systray. there is some flickering with the stop/start/cancel menu items chening their orderning that still needs to be solved.
Diffstat (limited to 'vendor/github.com/getlantern/systray/example/icon/make_icon.bat')
-rw-r--r--vendor/github.com/getlantern/systray/example/icon/make_icon.bat41
1 files changed, 0 insertions, 41 deletions
diff --git a/vendor/github.com/getlantern/systray/example/icon/make_icon.bat b/vendor/github.com/getlantern/systray/example/icon/make_icon.bat
deleted file mode 100644
index fa28113..0000000
--- a/vendor/github.com/getlantern/systray/example/icon/make_icon.bat
+++ /dev/null
@@ -1,41 +0,0 @@
-@ECHO OFF
-
-IF "%GOPATH%"=="" GOTO NOGO
-IF NOT EXIST %GOPATH%\bin\2goarray.exe GOTO INSTALL
-:POSTINSTALL
-IF "%1"=="" GOTO NOICO
-IF NOT EXIST %1 GOTO BADFILE
-ECHO Creating iconwin.go
-ECHO //+build windows > iconwin.go
-ECHO. >> iconwin.go
-TYPE %1 | %GOPATH%\bin\2goarray Data icon >> iconwin.go
-GOTO DONE
-
-:CREATEFAIL
-ECHO Unable to create output file
-GOTO DONE
-
-:INSTALL
-ECHO Installing 2goarray...
-go get github.com/cratonica/2goarray
-IF ERRORLEVEL 1 GOTO GETFAIL
-GOTO POSTINSTALL
-
-:GETFAIL
-ECHO Failure running go get github.com/cratonica/2goarray. Ensure that go and git are in PATH
-GOTO DONE
-
-:NOGO
-ECHO GOPATH environment variable not set
-GOTO DONE
-
-:NOICO
-ECHO Please specify a .ico file
-GOTO DONE
-
-:BADFILE
-ECHO %1 is not a valid file
-GOTO DONE
-
-:DONE
-