Skip to content

Commit

Permalink
fix: fix storeURL issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 16, 2024
1 parent 4df1b81 commit b26ebd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/MyAppListKit/MyAppListKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ public struct MyAppList {
}
public var storeURL: URL {
#if os(macOS)
return URL(string: "macappstore://apps.apple.com/app/id\(appstoreId)")!
/// "macappstore://apps.apple.com/app/id6479819388?action=write-review"
return URL(string: "macappstore://apps.apple.com/app/id\(appstoreId)?action=write-review")!
#endif
#if os(iOS)
return URL(string: "itms-apps://apps.apple.com/app/id\(appstoreId)")!
return URL(string: "itms-apps://apps.apple.com/app/id\(appstoreId)?action=write-review")!
#endif
}
public func openURL() {
Expand Down

0 comments on commit b26ebd8

Please sign in to comment.