Moved helper commands to bin directory for easier build process.

This commit is contained in:
Corey Butler
2014-09-26 11:41:54 -05:00
parent f9df13d0f3
commit f6d31c78db
3 changed files with 1 additions and 19 deletions

2
.gitignore vendored
View File

@@ -23,6 +23,6 @@ _testmain.go
*.test
*.prof
bin
dist
src/v*
bin/*.exe

View File

@@ -1,5 +0,0 @@
@setlocal
@echo off
set CMD=%*
set APP=%1
start wscript //nologo "%~dpn0.vbs" %*

View File

@@ -1,13 +0,0 @@
Set Shell = CreateObject("Shell.Application")
Set WShell = WScript.CreateObject("WScript.Shell")
Set ProcEnv = WShell.Environment("PROCESS")
cmd = ProcEnv("CMD")
app = ProcEnv("APP")
args= Right(cmd,(Len(cmd)-Len(app)))
If (WScript.Arguments.Count >= 1) Then
Shell.ShellExecute app, args, "", "runas", 0
Else
WScript.Quit
End If