mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Add utility to help format the code (#247)
Signed-off-by: Aisuko <urakiny@gmail.com>
This commit is contained in:
@@ -38,13 +38,11 @@ impl From<ItchGame> for ShortcutOwned {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
impl NeedsPorton<ItchPlatform> for ItchGame{
|
||||
impl NeedsPorton<ItchPlatform> for ItchGame {
|
||||
fn needs_proton(&self, _platform: &ItchPlatform) -> bool {
|
||||
self.executable.ends_with("exe")
|
||||
}
|
||||
|
||||
|
||||
#[cfg(target_family = "unix")]
|
||||
fn create_symlinks(&self, platform: &ItchPlatform) -> bool {
|
||||
platform.settings.create_symlinks
|
||||
@@ -54,4 +52,4 @@ impl NeedsPorton<ItchPlatform> for ItchGame{
|
||||
fn create_symlinks(&self, _platform: &ItchPlatform) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user