Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
- renamed helper bat, exe and ps1 files
- minor changes to ps1 files
- added missing bat files in .\Use_developer_features folder
- recompiled bat files with Bat To Exe Converter v3.2
  • Loading branch information
alex47exe committed Oct 9, 2019
1 parent 77c3c17 commit 306711e
Show file tree
Hide file tree
Showing 46 changed files with 267 additions and 176 deletions.
File renamed without changes.
Binary file added AppFiles/_UWP_activate.exe
Binary file not shown.
32 changes: 20 additions & 12 deletions AppFiles/_UwpActivate.ps1 → AppFiles/_UWP_activate.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

# ___ Generated by AutoUWP Launcher v1.0.5 (c) 2018-2019, SalFisher47
# ___ Generated by AutoUWP Launcher v1.1.0 (c) 2018-2019, SalFisher47
# Loosely based on .ps1 scripts by prudislav & pakrat2k2 @ fileforums.com

# ---> '.\AppxManifest.xml'
Write-Host " "
Write-Host -ForegroundColor Yellow " *** AutoUWP Launcher v1.0.5 (c) 2018-2019, SalFisher47 ***"
Write-Host -ForegroundColor Yellow " *** AutoUWP Launcher v1.1.0 (c) 2018-2019, SalFisher47 ***"
Write-Host " "
Write-Host -ForegroundColor Cyan " *** AutoUWP Launcher ... adding UWP game ***"
Write-Host -ForegroundColor Cyan " *** AutoUWP Launcher ... installing UWP game ***"
Write-Host " "
$xmlPath = [String]$pwd + '\AppxManifest.xml'
$xml = [xml](Get-Content $xmlPath -ErrorAction SilentlyContinue)
Expand All @@ -17,30 +17,38 @@ if(Test-Path $xmlPath){
$AppId = $xml.Package.Applications.Application.ID
$AppName = $xml.Package.Identity.Name
$FamName = get-appxpackage $AppName | Select PackageFamilyName
$FullName = get-appxpackage $AppName | Select PackageFullName
$GameName = $xml.Package.Properties.DisplayName
if(!$FamName){
Write-Host -ForegroundColor Green " $AppName --->"
Write-Host -ForegroundColor Green " adding $GameName ..."
Write-Host -ForegroundColor Green " installing game ---> "
Write-Host -ForegroundColor Green " $GameName ($AppName) ... "
Add-AppxPackage -Path $xmlPath -Register
Write-Host -ForegroundColor Green " DONE "
Write-Host " "
$FamName = get-appxpackage $AppName | Select PackageFamilyName
if($FamName){
Write-Host -ForegroundColor Green " $GameName IS INSTALLED"
Write-Host " "
}
else{
Write-Host -ForegroundColor Red " $GameName IS NOT INSTALLED"
Write-Host " "
}
#Pause
#Exit
}
else{
$FamName = $FamName.PackageFamilyName
$param = $FamName + '!' + $AppId
Write-Host -ForegroundColor Green " $AppName --->"
Write-Host -ForegroundColor Green " adding $GameName ..."
Write-Host -ForegroundColor Red " GAME IS ALREADY INSTALLED"
Write-Host -ForegroundColor Green " installing game ---> "
Write-Host -ForegroundColor Green " $GameName ($AppName) ... "
Write-Host -ForegroundColor Green " $GameName IS INSTALLED"
Write-Host " "
#Pause
#Start-Process explorer.exe shell:AppsFolder\$param
#Exit
}
}
else{
Write-Host -ForegroundColor Red ' .\AppxManifest.xml not found!'
Write-Host -ForegroundColor Red ' Copy UwpActivate.bat, UwpActivate.exe and UwpActivate.ps1 next to .\AppFiles folder!'
Write-Host -ForegroundColor Red ' Make sure autoUWP launcher is next to .\AppFiles folder!'
#Pause
#Exit
}
Expand Down
File renamed without changes.
File renamed without changes.
Binary file added AppFiles/_UWP_launch.exe
Binary file not shown.
65 changes: 65 additions & 0 deletions AppFiles/_UWP_launch.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

# ___ Generated by AutoUWP Launcher v1.1.0 (c) 2018-2019, SalFisher47
# Loosely based on .ps1 scripts by prudislav & pakrat2k2 @ fileforums.com

# ---> '.\AppxManifest.xml'
Write-Host " "
Write-Host -ForegroundColor Yellow " *** AutoUWP Launcher v1.1.0 (c) 2018-2019, SalFisher47 ***"
Write-Host " "
Write-Host -ForegroundColor Cyan " *** AutoUWP Launcher ... launching UWP game ***"
Write-Host " "
$xmlPath = [String]$pwd + '\AppxManifest.xml'
$xml = [xml](Get-Content $xmlPath -ErrorAction SilentlyContinue)
if(Test-Path $xmlPath){
Write-Host -ForegroundColor Green " .\AppxManifest.xml found!"
Write-Host -ForegroundColor Green " $xmlPath"
Write-Host " "
$AppId = $xml.Package.Applications.Application.ID
$AppName = $xml.Package.Identity.Name
$FamName = get-appxpackage $AppName | Select PackageFamilyName
$FullName = get-appxpackage $AppName | Select PackageFullName
$GameName = $xml.Package.Properties.DisplayName
if(!$FamName){
Start-Process UWP_activate.bat -Wait
$AppId = $xml.Package.Applications.Application.ID
$AppName = $xml.Package.Identity.Name
$FamName = get-appxpackage $AppName | Select PackageFamilyName
$FullName = get-appxpackage $AppName | Select PackageFullName
$GameName = $xml.Package.Properties.DisplayName
if($FamName){
$FamName = $FamName.PackageFamilyName
$param = $FamName + '!' + $AppId
Write-Host -ForegroundColor Green " launching game ---> "
Write-Host -ForegroundColor Green " $GameName ($AppName) ... "
#Pause
Start-Process explorer.exe shell:AppsFolder\$param
Write-Host -ForegroundColor Green " $GameName IS RUNNING"
Write-Host " "
Exit
}
else{
Write-Host -ForegroundColor Green " launching game ---> "
Write-Host -ForegroundColor Green " $GameName ($AppName) ... "
Write-Host -ForegroundColor Red " $GameName IS NOT INSTALLED"
Write-Host " "
}
}
else{
$FamName = $FamName.PackageFamilyName
$param = $FamName + '!' + $AppId
Write-Host -ForegroundColor Green " launching game ---> "
Write-Host -ForegroundColor Green " $GameName ($AppName) ... "
#Pause
Start-Process explorer.exe shell:AppsFolder\$param
Write-Host -ForegroundColor Green " $GameName IS RUNNING"
Write-Host " "
Exit
}
}
else{
Write-Host -ForegroundColor Red ' .\AppxManifest.xml not found!'
Write-Host -ForegroundColor Red ' Make sure autoUWP launcher is next to .\AppFiles folder!'
#Pause
#Exit
}
# <--- '.\AppxManifest.xml'
File renamed without changes.
File renamed without changes.
Binary file added AppFiles/_UWP_remove.exe
Binary file not shown.
32 changes: 20 additions & 12 deletions AppFiles/_UwpRemove.ps1 → AppFiles/_UWP_remove.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

# ___ Generated by AutoUWP Launcher v1.0.5 (c) 2018-2019, SalFisher47
# ___ Generated by AutoUWP Launcher v1.1.0 (c) 2018-2019, SalFisher47
# Loosely based on .ps1 scripts by prudislav & pakrat2k2 @ fileforums.com

# ---> '.\AppxManifest.xml'
Write-Host " "
Write-Host -ForegroundColor Yellow " *** AutoUWP Launcher v1.0.5 (c) 2018-2019, SalFisher47 ***"
Write-Host -ForegroundColor Yellow " *** AutoUWP Launcher v1.1.0 (c) 2018-2019, SalFisher47 ***"
Write-Host " "
Write-Host -ForegroundColor Cyan " *** AutoUWP Launcher ... removing UWP game ***"
Write-Host -ForegroundColor Cyan " *** AutoUWP Launcher ... uninstalling UWP game ***"
Write-Host " "
$xmlPath = [String]$pwd + '\AppxManifest.xml'
$xml = [xml](Get-Content $xmlPath -ErrorAction SilentlyContinue)
Expand All @@ -20,27 +20,35 @@ if(Test-Path $xmlPath){
$FullName = get-appxpackage $AppName | Select PackageFullName
$GameName = $xml.Package.Properties.DisplayName
if($FamName){
Write-Host -ForegroundColor Green " $AppName --->"
Write-Host -ForegroundColor Green " removing $GameName ..."
Write-Host -ForegroundColor Green " uninstalling game ---> "
Write-Host -ForegroundColor Green " $GameName ($AppName) ... "
Get-AppxPackage $AppName | Remove-AppxPackage
Write-Host -ForegroundColor Green " DONE"
Write-Host " "
$FamName = get-appxpackage $AppName | Select PackageFamilyName
if(!$FamName){
Write-Host -ForegroundColor Green " $GameName IS NOT INSTALLED"
Write-Host " "
}
else{
Write-Host -ForegroundColor Red " $GameName IS INSTALLED"
Write-Host " "
}
#Pause
#Exit
}
else{
$FamName = $FamName.PackageFamilyName
$param = $FamName + '!' + $AppId
Write-Host -ForegroundColor Green " $AppName --->"
Write-Host -ForegroundColor Green " removing $GameName ..."
Write-Host -ForegroundColor Red " GAME IS NOT INSTALLED"
Write-Host -ForegroundColor Green " uninstalling game ---> "
Write-Host -ForegroundColor Green " $GameName ($AppName) ... "
Write-Host -ForegroundColor Green " $GameName IS NOT INSTALLED"
Write-Host " "
#Pause
#Start-Process explorer.exe shell:AppsFolder\$param
#Exit
}
}
else{
Write-Host -ForegroundColor Red ' .\AppxManifest.xml not found!'
Write-Host -ForegroundColor Red ' Copy UwpRemove.bat, UwpRemove.exe and UwpRemove.ps1 next to .\AppFiles folder!'
Write-Host -ForegroundColor Red ' Make sure autoUWP launcher is next to .\AppFiles folder!'
#Pause
#Exit
}
Expand Down
File renamed without changes.
Binary file removed AppFiles/_UwpActivate.exe
Binary file not shown.
Binary file removed AppFiles/_UwpActivate_noicon.exe
Binary file not shown.
Binary file removed AppFiles/_UwpLaunch.exe
Binary file not shown.
55 changes: 0 additions & 55 deletions AppFiles/_UwpLaunch.ps1

This file was deleted.

Binary file removed AppFiles/_UwpLaunch_noicon.exe
Binary file not shown.
Binary file removed AppFiles/_UwpRemove.exe
Binary file not shown.
Binary file removed AppFiles/_UwpRemove_noicon.exe
Binary file not shown.
Loading

0 comments on commit 306711e

Please sign in to comment.