__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
#!/usr/bin/env gjs

import GLib from 'gi://GLib';
import Gio from 'gi://Gio';

const GJS_SUPPORTS_FILE_IFACE_PROMISES = imports.system.version >= 17101;

if (GJS_SUPPORTS_FILE_IFACE_PROMISES)
    Gio._promisify(Gio.File.prototype, 'query_default_handler_async');

function getHandlerAppAsync(location, cancellable) {
    if (!location)
        return null;

    if (!GJS_SUPPORTS_FILE_IFACE_PROMISES) {
        Gio._promisify(location.constructor.prototype,
            'query_default_handler_async',
            'query_default_handler_finish');
    }

    return location.query_default_handler_async(
        GLib.PRIORITY_DEFAULT, cancellable);
}

async function mainAsync(argv) {
    if (argv.length < 1) {
        const currentBinary = GLib.path_get_basename(new Error().fileName);
        printerr(`Usage: ${currentBinary} <action> uri [ --timeout <value> ]`);
        return 1;
    }

    const [action, uri] = argv;
    let timeout = 200;

    if (action !== 'handler')
        throw new TypeError(`Unexpected action ${action}`);

    for (let i = 1; i < argv.length; ++i) {
        if (argv[i] === '--timeout' && i < argv.length - 1)
            timeout = argv[++i];
    }

    const location = Gio.File.new_for_uri(uri);
    const cancellable = new Gio.Cancellable();

    // GVfs providers could hang when querying the file information, so we
    // workaround this by using the async API in a sync way, but we need to
    // use a timeout to avoid this to hang forever, better than hang the
    // shell.
    let launchMaxWaitId;

    try {
        const handler = await Promise.race([
            getHandlerAppAsync(location, cancellable),
            new Promise((_resolve, reject) => {
                launchMaxWaitId = GLib.timeout_add(
                    GLib.PRIORITY_DEFAULT, timeout, () => {
                        launchMaxWaitId = 0;
                        cancellable.cancel();
                        reject(new GLib.Error(Gio.IOErrorEnum,
                            Gio.IOErrorEnum.TIMED_OUT,
                            `Searching for ${location.get_uri()} ` +
                            'handler took too long'));
                        return GLib.SOURCE_REMOVE;
                    });
            }),
        ]);

        print(handler.get_id());
    } catch (e) {
        printerr(e.message);
        logError(e);
        return e.code ? e.code : GLib.MAXUINT8;
    } finally {
        if (launchMaxWaitId)
            GLib.source_remove(launchMaxWaitId);
    }

    return 0;
}

function main(args) {
    let ret;
    const loop = new GLib.MainLoop(null, false);
    mainAsync(args).then(r => (ret = r)).catch(logError).finally(() => loop.quit());
    loop.run();

    return ret;
}

imports.system.exit(main(ARGV));

Filemanager

Name Type Size Permission Actions
dependencies Folder 0755
media Folder 0755
README.md File 2.4 KB 0644
Settings.ui File 163.97 KB 0644
appIconIndicators.js File 44.14 KB 0644
appIcons.js File 57.69 KB 0644
appIconsDecorator.js File 5.74 KB 0644
appSpread.js File 7.06 KB 0644
dash.js File 41.15 KB 0644
dbusmenuUtils.js File 10.63 KB 0644
desktopIconsIntegration.js File 6.39 KB 0644
docking.js File 95.61 KB 0644
extension.js File 1.18 KB 0644
fileManager1API.js File 6.66 KB 0644
imports.js File 859 B 0644
intellihide.js File 11.11 KB 0644
launcherAPI.js File 9.22 KB 0644
locations.js File 48.36 KB 0644
locationsWorker.js File 2.69 KB 0644
metadata.json File 509 B 0644
notificationsMonitor.js File 3.86 KB 0644
prefs.js File 47.03 KB 0644
stylesheet.css File 75.26 KB 0644
theming.js File 19.89 KB 0644
ubuntu.css File 0 B 0644
utils.js File 20.27 KB 0644
windowPreview.js File 21.99 KB 0644
Filemanager