prozilla-os 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -179,7 +179,7 @@ function App() {
179
179
 
180
180
  [website]: https://os.prozilla.dev/
181
181
  [website-source]: https://github.com/prozilla-os/ProzillaOS
182
- [github]: https://github.com/prozilla-os/ProzillaOS/tree/convert-to-monorepo/packages/prozilla-os
182
+ [github]: https://github.com/prozilla-os/ProzillaOS/tree/main/packages/prozilla-os
183
183
  [npm]: https://www.npmjs.com/package/prozilla-os
184
184
  [discord]: https://discord.gg/JwbyQP4tdz
185
185
  [ko-fi]: https://ko-fi.com/prozilla
package/dist/main.d.ts CHANGED
@@ -113,6 +113,16 @@ export declare class App<AppProps extends WindowProps = WindowProps> {
113
113
  * An array of file extensions that this application can interpret
114
114
  */
115
115
  associatedExtensions: string[];
116
+ /**
117
+ * Determines whether the app is pinned by default
118
+ * @default true
119
+ */
120
+ pinnedByDefault: boolean;
121
+ /**
122
+ * Determiens whether the app is launched at startup
123
+ * @default false
124
+ */
125
+ launchAtStartup: boolean;
116
126
  isActive: boolean;
117
127
  isPinned?: boolean;
118
128
  constructor(name: App["name"], id: App["id"], windowContent: App<AppProps>["windowContent"], windowOptions?: App["windowOptions"]);
@@ -137,6 +147,14 @@ export declare class App<AppProps extends WindowProps = WindowProps> {
137
147
  * Set the associated extensions of this application
138
148
  */
139
149
  setAssociatedExtensions(extensions: string[] | null): this;
150
+ /**
151
+ * Changes whether this application is pinned by default or not
152
+ */
153
+ setPinnedByDefault(pinnedByDefault: boolean): this;
154
+ /**
155
+ * Changes whether this application is launched at startup or not
156
+ */
157
+ setLaunchAtStartup(launchAtStartup: boolean): this;
140
158
  }
141
159
 
142
160
  export declare class AppsConfig {
@@ -941,7 +959,7 @@ export declare class VirtualFile extends VirtualBase {
941
959
  /**
942
960
  * Sets the content of this file and removes the source
943
961
  */
944
- setContent(content: string): this;
962
+ setContent(content: string | string[]): this;
945
963
  get id(): string;
946
964
  static splitId(id: string): {
947
965
  name: string;
package/dist/main.js CHANGED
@@ -37683,7 +37683,7 @@ function sh({ active: t }) {
37683
37683
  ] })
37684
37684
  ] });
37685
37685
  }
37686
- const uh = new yd("Calculator", "calculator", sh, { size: new Ad(400, 600) }).setIconUrl("https://os.prozilla.dev/assets/apps/icons/calculator.svg");
37686
+ const uh = new yd("Calculator", "calculator", sh, { size: new Ad(400, 600) }).setIconUrl("https://os.prozilla.dev/assets/apps/icons/calculator.svg").setPinnedByDefault(!1);
37687
37687
  export {
37688
37688
  uh as calculator,
37689
37689
  dh as textEditor