This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // deprecated for manual_exception_handling repo | |
| #pragma once | |
| #include <Windows.h> | |
| #include <cstdint> | |
| #include <memory> | |
| #include <iostream> | |
| #include <vector> | |
| #include <cassert> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | require("zip") | |
| -- credits: https://stackoverflow.com/questions/2829175/how-to-extract-files-from-a-zip-file-using-lua | |
| function extract(zipPath, zipFilename, destinationPath) | |
| local zfile, err = zip.open(zipPath .. zipFilename) | |
| -- iterate through each file insize the zip file | |
| for file in zfile:files() do | |
| local currFile, err = zfile:open(file.filename) | |
| local currFileContents = currFile:read("*a") -- read entire contents of current file | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "services": [ | |
| { | |
| "id": "torbox", | |
| "enabled": false, | |
| "credentials": {} | |
| }, | |
| { | |
| "id": "realdebrid", | |
| "enabled": false, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "services": [ | |
| { | |
| "id": "torbox", | |
| "enabled": true, | |
| "credentials": {} | |
| }, | |
| { | |
| "id": "realdebrid", | |
| "enabled": false, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "id": "com.linvo.cinemeta", | |
| "version": "3.0.13", | |
| "name": "Cinemeta", | |
| "contactEmail": null, | |
| "description": "The official addon for movie and series catalogs", | |
| "logo": null, | |
| "background": null, | |
| "types": [ | |
| "movie", | 
OlderNewer