简体   繁体   English

Safari应用程序扩展:在首选项窗格中更改FROM字段

[英]Safari app extension: change FROM field in preferences pane

do you know where I can change this field in safari app extension project? 您是否知道我可以在Safari应用扩展项目中更改此字段?

在此处输入图片说明

(I am not writing 1password extension, this is just an example image) (我没有写1password扩展名,这只是一个示例图像)

From my findings it looks like the name is name of containing app . 从我的发现来看,该名称似乎是name of containing app But I'd like to change that. 但是我想改变一下。 Is it possible? 可能吗? Is there any plist.info key that can be set? 有没有可以设置的plist.info键? Or build settings/project settings? 还是构建设置/项目设置?

Previously in gallery extensions there was a key named DeveloperIdentifier . 以前在扩展库中有一个名为DeveloperIdentifier的键。 But this doesn't work. 但这是行不通的。

EDIT: 编辑:

The reason I need this to happen is this: 我需要发生这种情况的原因是:

  • I want to have a process named one way (long text) 我想要一个命名为单向的过程(长文本)

  • So I renamed the project to conform it 所以我重命名了项目以使其符合

  • then I realized that extension takes the name out of containing app 然后我意识到扩展程序使名称不再包含应用程序

Thanks a lot 非常感谢

For anyone looking for the same: 对于任何寻求相同的人:

  • I stick with having containing app project named as I wanted to be presented in extension (as seen in screenshot) 我坚持包含名为我想要在扩展程序中显示的应用程序项目(如屏幕截图所示)
  • I've found out, that bundle name can be changed what I was previously realizing by changing project name 我发现,可以通过更改项目名称来更改我以前实现的捆绑名称

So this is not exactly an answer to my question, but I was able to achieve what I needed 所以这并不是我的问题的答案,但是我能够实现我所需要的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从JS-Safari API更新扩展程序设置首选项? - How to Update Extension settings preferences from JS - Safari API? 未安装Safari App Extension - Safari App Extension not installed 使用segue时,在Cocoa应用程序中打开“首选项窗格”的无限窗口 - Open infinite window of Preferences Pane in Cocoa app when using segue 如何检测用户何时在 Safari 首选项中启用或禁用扩展 - How to detect when user Enable or Disable extension in Safari preferences 如何从Safari扩展程序启动Mac OS应用程序? - How to Launch a Mac OS App From Safari Extension? 如何在 safari 应用程序和从 safari 应用程序扩展资源文件夹加载的 html 页面之间进行通信 - how to communicate between safari app and html page loaded from safari app extension resources folder Safari App Extension与包含的应用程序进行通信的方式 - Ways of Safari App Extension to communicate with containing app 使用AppleScript更改系统偏好设置>应用徽章 - Use AppleScript to change System Preferences > App Badges Safari首选项plist在Mac 10.9上未从用户默认设置更改 - Safari Preferences plist not changing on mac 10.9 from User Defaults 如何在 Safari App Extension 中获取活动标签? - How to get active tab in a Safari App Extension?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM