Mrcool 🇵🇸
wich version i need to use of deno webview2 modules?
Another option is to use webui, it have https://jsr.io/@webui/deno-webui/doc/~/WebUI.prototype.setKiosk to set fullscreen
6 replies
wich version i need to use of deno webview2 modules?
This is an example for linux https://jsr.io/@sigmasd/adw-app/0.1.3/lib.ts (its used like this
app.run((window) => {
const webview = new Webview(false, undefined, window);
)
windows can be done similarly if you're familiar with its win32 api, you'll need to use CreateWindowEx and pass the window to webview, but i'm not familiar with windows so I can't comment more on that6 replies
wich version i need to use of deno webview2 modules?
Are you targeting a specific os ? if you are you can use option 1 then you can use native apis for example in linux get the gtk window pointer from the webview, dlopen gtk and use normal gtk apis on it like set full screen and set decorated
6 replies
Deno Compile Can't Find Node Module
1st issue, the compiled executale can't find a file you can try to include it
deno compile --include node_modules/@aws-sdk myfile.ts
2nd issue deno is correct lodash doens't export eq on that version you can check with
7 replies
How to import GoogleAIFileManager from @google/generative-ai/files
You can check the full example here
https://github.com/sigmaSd/gemini-2-cookbook-deno/blob/master/get_started.ipynb
5 replies