aboutsummarylogtreecommitdiffstats
path: root/launcher-patch.st
blob: 2d7ccd1551e53f239d202aee44d20c755b2f91ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PhLVmProvider subclass: #PhLVmProviderArchlinux90
	instanceVariableNames: ''
	classVariableNames: ''
	package: 'PharoLauncher-Core-Download-Arch'.

PhLVmProviderArchlinux90 compile: 'urlTemplate
	^ ''https://badetitou.github.io/files/archlinux/90-x64-Arch.zip'''.

PhLVmProviderArchlinux90 compile: 'urlForStable: useStableVm
	^ self urlTemplate'.

PhLVmProviderArchlinux90 compile: 'urlForPharo: pharoVersion stable: useStableVm
	^ self urlTemplate'.

PhLVmProvider class compile: 'for: aPhLVirtualMachineOrManager
	| class |
	class := aPhLVirtualMachineOrManager pharoVersion asInteger < 90
		ifTrue: [ PhLVmProviderUntilPharo80 ]
		ifFalse: [ aPhLVirtualMachineOrManager pharoVersion asInteger < 100
				ifTrue: [ PhLVmProviderArchlinux90 ]
				ifFalse: [ self ] ].
	^ class new
		vmManager: aPhLVirtualMachineOrManager;
		yourself'.


Smalltalk snapshot: true andQuit: true