Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request]: Grayjay Desktop #14672

Open
6 tasks done
o-l-a-v opened this issue Jan 2, 2025 · 0 comments
Open
6 tasks done

[Request]: Grayjay Desktop #14672

o-l-a-v opened this issue Jan 2, 2025 · 0 comments
Labels
package-request Request for adding an app

Comments

@o-l-a-v
Copy link
Contributor

o-l-a-v commented Jan 2, 2025

Prerequisites

  • I have searched all issues/PRs to ensure it has not already been reported or fixed.

Criteria

  • Reasonably well-known and widely used (e.g. if it's a GitHub project, it should have at least 100 stars and/or 50 forks)
  • English interface (or at least English documentation)
  • Latest stable version
  • Full version (i.e. not a trial version)
  • Fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Name

grayjay-desktop

Description

Follow Creators, Not Platforms

Homepage

https://grayjay.app/desktop/

Download Link(s)

https://updater.grayjay.app/Apps/Grayjay.Desktop/2/Grayjay.Desktop-win-x64-v2.zip

Some Indication of Popularity/Repute

More info

I request Grayjay Desktop to be added once it has some kinks around it's built in updater and non-portable mode ironed out.

Related issues:

Heres what I got so far, it installs and will autoupdate (i think):

{
    "$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
    "version": "2",
    "description": "Follow Creators, Not Platforms.",
    "homepage": "https://grayjay.app/desktop/",
    "license": {
        "identifier": "Unknown",
        "url": "https://github.com/futo-org/Grayjay.Desktop/blob/master/LICENSE.md"
    },
    "suggest": {
        "Dotnet Runtime 8": "extras/windowsdesktop-runtime-lts"
    },
    "architecture": {
        "64bit": {
            "url": "https://updater.grayjay.app/Apps/Grayjay.Desktop/2/Grayjay.Desktop-win-x64-v2.zip",
            "hash": "f9a18730f17917cb8b55613eac5eaac895cbe778faf39b63be142e700c492e80",
            "extract_dir": "Grayjay.Desktop-win-x64-v2"
        }
    },
    "post_install": [
        "$(",
        "    [string[]](",
        "        [System.IO.Path]::Combine($dir,'FUTO.Updater.Client.exe'),",
        "        [System.IO.Path]::Combine($dir,'portable')",
        "    )",
        ").Where{",
        "    [System.IO.File]::Exists($_)",
        "}.ForEach{",
        "    $null = [System.IO.File]::Delete($_)",
        "}"
    ],
    "shortcuts": [
        [
            "Grayjay.exe",
            "Grayjay"
        ]
    ],
    "post_uninstall": [
        "if ($purge) {",
        "    $Directories = [string[]](",
        "        [System.IO.Path]::Combine($env:USERPROFILE,'GrayJay')",
        "    )",
        "    $Directories.ForEach{",
        "        if ([System.IO.Directory]::Exists($_)) {",
        "            $null = [System.IO.Directory]::Delete($_,$true)",
        "        }",
        "    }",
        "}"
    ],
    "checkver": {
        "url": "https://updater.grayjay.app/Apps/Grayjay.Desktop/VersionLast.json",
        "regex": "(\\d+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://updater.grayjay.app/Apps/Grayjay.Desktop/$version/Grayjay.Desktop-win-x64-v$version.zip",
                "extract_dir": "Grayjay.Desktop-win-x64-v$version"
            }
        }
    }
}
@o-l-a-v o-l-a-v added the package-request Request for adding an app label Jan 2, 2025
@o-l-a-v o-l-a-v changed the title [Request]: GrayJay Desktop [Request]: Grayjay Desktop Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package-request Request for adding an app
Projects
None yet
Development

No branches or pull requests

1 participant