Fix camelcase for wsaPlayer
parent
18a1268d20
commit
3496edfe47
|
|
@ -652,7 +652,7 @@ class ImageTag {
|
||||||
mac: 'mac-mono',
|
mac: 'mac-mono',
|
||||||
windows: 'windows-mono',
|
windows: 'windows-mono',
|
||||||
windowsIl2cpp: 'windows-il2cpp',
|
windowsIl2cpp: 'windows-il2cpp',
|
||||||
wsaplayer: 'universal-windows-platform',
|
wsaPlayer: 'universal-windows-platform',
|
||||||
linux: 'base',
|
linux: 'base',
|
||||||
linuxIl2cpp: 'linux-il2cpp',
|
linuxIl2cpp: 'linux-il2cpp',
|
||||||
android: 'android',
|
android: 'android',
|
||||||
|
|
@ -662,7 +662,7 @@ class ImageTag {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
static getTargetPlatformToImageSuffixMap(platform, version) {
|
static getTargetPlatformToImageSuffixMap(platform, version) {
|
||||||
const { generic, webgl, mac, windows, windowsIl2cpp, wsaplayer, linux, linuxIl2cpp, android, ios, tvos, facebook, } = ImageTag.imageSuffixes;
|
const { generic, webgl, mac, windows, windowsIl2cpp, wsaPlayer, linux, linuxIl2cpp, android, ios, tvos, facebook, } = ImageTag.imageSuffixes;
|
||||||
const [major, minor] = version.split('.').map((digit) => Number(digit));
|
const [major, minor] = version.split('.').map((digit) => Number(digit));
|
||||||
// @see: https://docs.unity3d.com/ScriptReference/BuildTarget.html
|
// @see: https://docs.unity3d.com/ScriptReference/BuildTarget.html
|
||||||
switch (platform) {
|
switch (platform) {
|
||||||
|
|
@ -711,7 +711,7 @@ class ImageTag {
|
||||||
if (process.platform !== 'win32') {
|
if (process.platform !== 'win32') {
|
||||||
throw new Error(`WSAPlayer can only be built on a windows base OS`);
|
throw new Error(`WSAPlayer can only be built on a windows base OS`);
|
||||||
}
|
}
|
||||||
return wsaplayer;
|
return wsaPlayer;
|
||||||
case platform_1.default.types.PS4:
|
case platform_1.default.types.PS4:
|
||||||
return windows;
|
return windows;
|
||||||
case platform_1.default.types.XboxOne:
|
case platform_1.default.types.XboxOne:
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -36,7 +36,7 @@ class ImageTag {
|
||||||
mac: 'mac-mono',
|
mac: 'mac-mono',
|
||||||
windows: 'windows-mono',
|
windows: 'windows-mono',
|
||||||
windowsIl2cpp: 'windows-il2cpp',
|
windowsIl2cpp: 'windows-il2cpp',
|
||||||
wsaplayer: 'universal-windows-platform',
|
wsaPlayer: 'universal-windows-platform',
|
||||||
linux: 'base',
|
linux: 'base',
|
||||||
linuxIl2cpp: 'linux-il2cpp',
|
linuxIl2cpp: 'linux-il2cpp',
|
||||||
android: 'android',
|
android: 'android',
|
||||||
|
|
@ -53,7 +53,7 @@ class ImageTag {
|
||||||
mac,
|
mac,
|
||||||
windows,
|
windows,
|
||||||
windowsIl2cpp,
|
windowsIl2cpp,
|
||||||
wsaplayer,
|
wsaPlayer,
|
||||||
linux,
|
linux,
|
||||||
linuxIl2cpp,
|
linuxIl2cpp,
|
||||||
android,
|
android,
|
||||||
|
|
@ -108,7 +108,7 @@ class ImageTag {
|
||||||
if (process.platform !== 'win32') {
|
if (process.platform !== 'win32') {
|
||||||
throw new Error(`WSAPlayer can only be built on a windows base OS`);
|
throw new Error(`WSAPlayer can only be built on a windows base OS`);
|
||||||
}
|
}
|
||||||
return wsaplayer;
|
return wsaPlayer;
|
||||||
case Platform.types.PS4:
|
case Platform.types.PS4:
|
||||||
return windows;
|
return windows;
|
||||||
case Platform.types.XboxOne:
|
case Platform.types.XboxOne:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue