diff --git a/unity-tizen/tools/chocolateyinstall.ps1 b/unity-tizen/tools/chocolateyinstall.ps1 new file mode 100644 index 000000000..50562e75e --- /dev/null +++ b/unity-tizen/tools/chocolateyinstall.ps1 @@ -0,0 +1,17 @@ +$ErrorActionPreference = 'Stop'; + +$packageName = 'unity-tizen' +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" +$url = 'https://download.unity3d.com/download_unity/88d00a7498cd/TargetSupportInstaller/UnitySetup-Tizen-Support-for-Editor-5.5.1f1.exe' +$checksum = 'b3a067d99813f9f18e9d6062dd29f651c64fe8e70b04f7ea1dea5d04bc5918c7' + +$packageArgs = @{ + packageName = $packageName + fileType = 'EXE' + url = $url + checksum = $checksum + silentArgs = '/S' + validExitCodes = @(0) +} + +Install-ChocolateyPackage @packageArgs diff --git a/unity-tizen/unity-tizen.nuspec b/unity-tizen/unity-tizen.nuspec new file mode 100644 index 000000000..8bae4e67a --- /dev/null +++ b/unity-tizen/unity-tizen.nuspec @@ -0,0 +1,31 @@ + + + + unity-tizen + 5.5.1 + https://github.com/jtcmedia/chocolatey-packages/tree/master/unity-tizen + LudicrousByte + Unity Tizen Target Support + Unity Technologies + https://unity3d.com/ + https://cdn.rawgit.com/jtcmedia/chocolatey-packages/unity-icon/icons/unity.png + Copyright 2017 Unity Technologies + https://unity3d.com/legal/terms-of-service/software + true + https://docs.unity3d.com/Manual/index.html + unity admin tizen windows store .net + This package adds Tizen Target Support to Unity. + +This package adds Tizen Target Support to Unity. + + +* [Release Notes](https://unity3d.com/unity/whats-new/) + + + + + + + + + diff --git a/unity-tizen/update.ps1 b/unity-tizen/update.ps1 new file mode 100644 index 000000000..d5ea945f5 --- /dev/null +++ b/unity-tizen/update.ps1 @@ -0,0 +1,37 @@ +import-module au + +$releases = 'https://unity3d.com/get-unity/update' + + +function global:au_SearchReplace { + @{ + ".\tools\chocolateyinstall.ps1" = @{ + "(^[$]url\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'" + "(^[$]checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'" + } + + ".\unity-tizen.nuspec" = @{ + "(\