pkgInst
This commit is contained in:
		
							parent
							
								
									7958464d6e
								
							
						
					
					
						commit
						083065721f
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								scripts/pkgoa.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								scripts/pkgoa.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| #!/bin/bash | ||||
| 
 | ||||
| PLATFORM="linux"  # osx (for dmg) | ||||
| axel -9 "https://discordapp.com/api/download/ptb?platform=linux" -o discord-ptb.deb  # win (for exe) | ||||
| fakeroot sh -c ' | ||||
|   mkdir tmp | ||||
|   dpkg-deb -R discord-ptb.deb tmp | ||||
|   # edit DEBIAN/postinst # mv .?app.asar ./app.asar | ||||
|   cp -f ./app.asar tmp/usr/share/discord-ptb/resources/app.asar | ||||
|   dpkg-deb -b tmp discord-0.AP.deb | ||||
|   rm -rf tmp | ||||
| ' | ||||
| dpkg -i discord-0.AP.deb | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue