Skip to content

Commit

Permalink
fix: Remove \r from the application manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
mlyubimov committed May 7, 2024
1 parent e454ca5 commit d4c6a78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/stores/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,9 @@ export const useAppsStore = defineStore('apps', () => {
}
const dataUri = await urlContentToDataUri(app.currentVersion.iconUri)
const base64Icon = dataUri.split(',')[1]
let manifestText = `Filetype: Flipper Application Installation Manifest\r\nVersion: 1\r\nFull Name: ${app.currentVersion.name}\r\nIcon: ${base64Icon}\r\nVersion Build API: ${info.value.firmware.api.major}.${info.value.firmware.api.minor}\r\nUID: ${app.id}\r\nVersion UID: ${app.currentVersion.id}\r\nPath: ${paths.appDir}/${app.alias}.fap`
let manifestText = `Filetype: Flipper Application Installation Manifest\nVersion: 1\nFull Name: ${app.currentVersion.name}\nIcon: ${base64Icon}\nVersion Build API: ${info.value.firmware.api.major}.${info.value.firmware.api.minor}\nUID: ${app.id}\nVersion UID: ${app.currentVersion.id}\nPath: ${paths.appDir}/${app.alias}.fap`
if (!mainFlags.value.catalogChannelProduction) {
manifestText = manifestText + '\r\nDevCatalog: true'
manifestText = manifestText + '\nDevCatalog: true'
}
const manifestFile = new TextEncoder().encode(manifestText)
app.action.progress = 0.45
Expand Down

0 comments on commit d4c6a78

Please sign in to comment.