improve install
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import { selectVersion } from './versions';
|
|||||||
import { winInstall } from './win-install';
|
import { winInstall } from './win-install';
|
||||||
import { unixInstall } from './unix-install';
|
import { unixInstall } from './unix-install';
|
||||||
|
|
||||||
export async function installXmake(version: Version): Promise<void> {
|
export async function installXmake(): Promise<void> {
|
||||||
const version = await selectVersion();
|
const version = await selectVersion();
|
||||||
if (os.platform() === 'win32' || os.platform() === 'cygwin') {
|
if (os.platform() === 'win32' || os.platform() === 'cygwin') {
|
||||||
const latest = await selectVersion('latest');
|
const latest = await selectVersion('latest');
|
||||||
|
|||||||
Reference in New Issue
Block a user