mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-19 13:55:40 -04:00
[MOB-23] Mobile Hardware Information for Overview Page (#2106)
* wip for iDevices * Working HardwareModel Info for iOS * wip * Merge 'main' into 'mob-hw-info-overview' * Half-Working `get_volume()` * Objective c bridge to talk to FS * Working objc bridge The bridge works now, and we can now access the iOS file system using the native objective-c APIs instead for proper values, including on the simulator. * Isolate `icrate` for `ios` deployments only * Working Stats for Android * Clean Up + `pnpm format` * Fix to FSInfoResult Type Due to the RNFS fork change, I had to change the types to make it so it doesn't fail building and CI. * iOS Device Name Fix
This commit is contained in:
committed by
GitHub
parent
55d2ec7a6a
commit
3bd1622e93
@@ -34,8 +34,8 @@ export async function which(progName) {
|
||||
Array.from(new Set(env.PATH?.split(':'))).map(dir =>
|
||||
fs.access(path.join(dir, progName), fs.constants.X_OK)
|
||||
)
|
||||
).then(
|
||||
).then(
|
||||
() => true,
|
||||
() => false
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user