AutoRaise icon indicating copy to clipboard operation
AutoRaise copied to clipboard

missing "return pwa" at is_pwa.

Open mcmzero opened this issue 2 months ago • 2 comments

inline bool is_pwa(NSString * bundleIdentifier) {
    NSArray * components = [bundleIdentifier componentsSeparatedByString: @"."];
    bool pwa = components.count > 4 && [pwas containsObject: components[2]] && [components[3] isEqual: @"app"];
    if (verbose && pwa) { NSLog(@"PWA: %@", components[2]); }
}
inline bool is_pwa(NSString * bundleIdentifier) {
    NSArray * components = [bundleIdentifier componentsSeparatedByString: @"."];
    bool pwa = components.count > 4 && [pwas containsObject: components[2]] && [components[3] isEqual: @"app"];
    if (verbose && pwa) { NSLog(@"PWA: %@", components[2]); }
    return pwa            // add return code
}

mcmzero avatar Oct 25 '25 07:10 mcmzero

@mcmzero

nice catch! will fix this ASAP in master

sbmpost avatar Oct 27 '25 08:10 sbmpost

Fixed in #260

sbmpost avatar Oct 27 '25 15:10 sbmpost