-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created Init script that verifies precense of specific folders and files - Created start of WinForm, and ability to create projects using this form
- Loading branch information
0 parents
commit fce0e69
Showing
18 changed files
with
1,470 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"project_name": "New Project", | ||
"author" : "John Doe", | ||
"version" : "0.1", | ||
"localPath" : "" | ||
} |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
cls | ||
#During initilization, ensure folders exist for PowerShell Game Engine | ||
$LaunchLocation = Split-Path ($MyInvocation.MyCommand.Path) | ||
$ExpectedFolders = @( | ||
"Modules", | ||
"Modules\EngineModules", | ||
"Modules\GamePlayModules", | ||
"Projects" | ||
"Engine", | ||
"Engine\Templates" | ||
) | ||
#Loop through expected folders and ensure they exist | ||
Write-Host "-- Preforming Initilization Checks --" | ||
Foreach ($Item in $ExpectedFolders) { | ||
If (!(Test-Path "$LaunchLocation\$Item")) { | ||
Write-Host "Missing directory - $LaunchLocation\$Item" | ||
$FileName = "$Item" | ||
If ($Item -like "*\*") { | ||
$SplitItem = $Item -split "\" | ||
$FileName = $SplitItem[$SplitItem.Count - 1] | ||
} | ||
Write-Host "Creating directory - $Item" | ||
New-Item -Path $LaunchLocation -Name $FileName -ItemType Directory | ||
} | ||
} | ||
#Launch GUI | ||
Start-Process "$LaunchLocation\EngineGUI.ps1" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.