kopia lustrzana https://github.com/inkstitch/inkstitch
				
				
				
			get the right architecture
							rodzic
							
								
									3a3c9e5406
								
							
						
					
					
						commit
						a87694dc61
					
				| 
						 | 
				
			
			@ -1,12 +1,18 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
if [ "$BUILD" = "windows" -o "$BUILD" = "linux" ]; then
 | 
			
		||||
  if [ "$BUILD" = "windows" ]; then
 | 
			
		||||
    args="-w --ia32"
 | 
			
		||||
  else
 | 
			
		||||
    args="-l --x64"
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  docker run --rm \
 | 
			
		||||
    -e ELECTRON_CACHE=$HOME/.cache/electron \
 | 
			
		||||
    -v ${PWD}/electron:/project \
 | 
			
		||||
    -v ~/.cache/electron:/root/.cache/electron \
 | 
			
		||||
    electronuserland/builder:wine \
 | 
			
		||||
    /bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run dist"
 | 
			
		||||
    /bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run dist ${args}"
 | 
			
		||||
else
 | 
			
		||||
  cd electron
 | 
			
		||||
  npm install
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue