mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
only bind setAppUserModelId on windows
This commit is contained in:
@@ -186,6 +186,7 @@ struct Converter<std::map<K, V>> {
|
||||
}
|
||||
};
|
||||
|
||||
#if defined(OS_WIN)
|
||||
template <>
|
||||
struct Converter<std::wstring> {
|
||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
||||
@@ -207,6 +208,7 @@ struct Converter<std::wstring> {
|
||||
}
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
} // namespace gin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user