Changed id and whatnot
This commit is contained in:
		
							parent
							
								
									ee612d3f39
								
							
						
					
					
						commit
						d8dfe6a840
					
				@ -1,4 +1,4 @@
 | 
			
		||||
#!/usr/env/bash
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Convert the archive of the Flutter app to a Flatpak.
 | 
			
		||||
@ -12,8 +12,8 @@ set -x
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# No spaces in project name.
 | 
			
		||||
projectName=RluvClient
 | 
			
		||||
projectId=com.rluv.client
 | 
			
		||||
projectName=rluvApp
 | 
			
		||||
projectId=com.fosscat.rluv
 | 
			
		||||
executableName=rluv
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,7 @@ ln -s /app/$projectName/$executableName /app/bin/$executableName
 | 
			
		||||
# Install the icon.
 | 
			
		||||
iconDir=/app/share/icons/hicolor/scalable/apps
 | 
			
		||||
mkdir -p $iconDir
 | 
			
		||||
cp -r assets/icons/$projectId.svg $iconDir/
 | 
			
		||||
cp -r assets/app_icon.png $iconDir/
 | 
			
		||||
 | 
			
		||||
# Install the desktop file.
 | 
			
		||||
desktopFileDir=/app/share/applications
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,9 @@
 | 
			
		||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
app-id: com.rluv.client
 | 
			
		||||
app-id: com.fosscat.rluv
 | 
			
		||||
runtime: org.freedesktop.Platform
 | 
			
		||||
runtime-version: "22.08"
 | 
			
		||||
runtime-version: "23.08"
 | 
			
		||||
sdk: org.freedesktop.Sdk
 | 
			
		||||
command: rluv
 | 
			
		||||
separate-locales: false
 | 
			
		||||
@ -23,9 +23,9 @@ modules:
 | 
			
		||||
    build-commands:
 | 
			
		||||
      - "./build-flatpak.sh"
 | 
			
		||||
    sources:
 | 
			
		||||
      - type: file
 | 
			
		||||
        url: https://github.com/Merrit/flutter_flatpak_example/releases/download/v1.0.0/FlutterApp-Linux-Portable.tar.gz
 | 
			
		||||
        sha256: 5dc57e4f5b84e6527098cb1e011ef50413c660147f5da7dfbfb507527e44eb83
 | 
			
		||||
      # - type: file
 | 
			
		||||
      #   url: https://github.com/Merrit/flutter_flatpak_example/releases/download/v1.0.0/FlutterApp-Linux-Portable.tar.gz
 | 
			
		||||
      #   sha256: 5dc57e4f5b84e6527098cb1e011ef50413c660147f5da7dfbfb507527e44eb83
 | 
			
		||||
      - type: dir
 | 
			
		||||
        path: ../rluv-client
 | 
			
		||||
      # - type: git
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user